Reputation: 6373
After creating a git repository (repo1) using GIT Bash by pulling a project from TFS2012 server 'A', I am trying to configure a project on another TFS2012 server 'B' using below command from repo1 directory as explained here:
git tf configure http://localmachine:8080/tfs/DefaultCollection $/PersonalSite/repo1
But below error is displaying:
ERROR:
git-tf: nothing to configure. please specify an option to configure
I have tried googling this error, but can't find much help.
Note: Ultimately I need to checkin to TFS2012 server 'B' for changes to persist.
Can you please help with resolving this error? Thanks
Upvotes: 4
Views: 2591
Reputation: 957
You will get this error if you already have configured a tfs repo. To see if you already have it configured do this..
git-tf configure -l
If you need to change it to another tfs repo use the --force switch.
Upvotes: 7