Reputation: 2496
I ran:
git remote add origin <url to the tfs :https://tfs.....>
git push –f origin master
the result:
writing objects 100% done. and
Total 680 <delta 194>, reused 638 <delta 182>
.Upvotes: 0
Views: 6883
Reputation: 31003
You can follow this MSDN article:
Create a local Git repo for your code. (If your code is already in a local Git repo, you can skip this step.)
cd /home/fabrikam/fiber
git init .
git add --all
git commit -m "first commit of my code"
Create your Team Services repo
Create a new Team services Git repo for your code. Copy the clone URL once you are done creating your repo.
Connect your local repo to the Team Services repo using the copied clone URL in the git remote command:
git remote add origin https://fabrikops2.visualstudio.com/DefaultCollection/Fabrikam/_git/FabrikamApp
Push your code
Set up authentication with credential managers or SSH before continuing.
git push origin master
Upvotes: 3