命令(cmd 和 powershell)示例(更改服务器和路径名)
c:\code\git\svnImport> git tf configure http://server:8080/tfs/collection $/project --deep
响应
git-tf: A server path must be absolute: $C:/Program Files (x86)/Git/project
奇怪的是,错误消息将本地路径吐回到我工作站上安装 Git 的位置,而不是 TFS 的服务器路径。
Windows 8.1 (x64)
Git 2.9.0 (x64)
TFS 2015
我已经用头撞墙几个小时了……是时候寻求帮助了!任何帮助表示赞赏。
最佳答案
Riaz 在这里。 亲爱的,就这样试试吧。
git tf 配置 http://server:8080/tfs/collection '$\项目'
关于git tf 配置 "A server path must be absolute",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37869359/