简体   繁体   English

git tf configure命令错误(git-tf无需配置)

[英]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的Bash从TFS2012服务器“A”拉一个项目一个Git仓库(repo1)之后,我尝试使用以下命令从repo1目录中解释的另一个TFS2012服务器“B”上配置一个项目, 在这里

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. 注意:最终我需要签入TFS2012服务器'B'以保持更改。

Can you please help with resolving this error? 你能帮忙解决这个错误吗? Thanks 谢谢

You will get this error if you already have configured a tfs repo. 如果您已经配置了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. 如果需要将其更改为另一个tfs repo,请使用--force开关。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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