简体   繁体   中英

git tf configure command error (git-tf nothing to configure)

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM