简体   繁体   English

git tf configure “服务器路径必须是绝对路径”

[英]git tf configure “A server path must be absolute”

Command (cmd & powershell) sample (servers and path names altered)命令(cmd 和 powershell)示例(服务器和路径名称已更改)

c:\code\git\svnImport> git tf configure http://server:8080/tfs/collection $/project --deep

Response回应

git-tf: A server path must be absolute: $C:/Program Files (x86)/Git/project

What is strange here is that the error message is puking back the local path to where Git is installed on my workstation and not the server path to TFS.奇怪的是,错误消息将本地路径指向我的工作站上安装 Git 的位置,而不是指向 TFS 的服务器路径。

Windows 8.1 (x64)视窗 8.1 (x64)

Git 2.9.0 (x64) Git 2.9.0 (x64)

TFS 2015 TFS 2015

I've been beating my head against this wall for a couple of hours now... time to ask for some assistance!我已经用头撞墙几个小时了……是时候寻求帮助了! Any help is appreciated.任何帮助表示赞赏。

Riaz Here.里亚兹在这里。 Just try in this way Dear.就这样试试亲爱的。

git tf configure http://server:8080/tfs/collection '$\\project' git tf 配置http://server:8080/tfs/collection '$\\project'

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

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