【发布时间】:2014-03-14 02:02:05
【问题描述】:
环境
服务器
- 赢服务器 2012
- TFS 2013 (12.0.21005.1)
客户
- 赢 7
- git 版本 1.9.0.msysgit.0
事态
- git clone http://{TFS 项目集合 URL}/_git/{团队项目名称}
- 成功
- git remote add {alias} http://{TFS Project Collection URL}/_git/{Team Project Name}
- 失败并显示消息“致命:不是 git 存储库(或任何父目录):.git”
我注意到我应该与 git 命令一起使用的 URL (http://{TFS Project Collection URL}/_git/{Team Project Name}) 也是一个有效的 URL,它以 html 响应并显示项目通过网络应用程序在 repo 中。
问题
我做错了什么?是不是我需要配置 TFS 以使 repo 的 URL (http://{TFS Project Collection URL}/_git/{Team Project Name}) “知道”如何回复 Web 应用程序请求和通过 git 请求?此外,如何解决此类问题?
更新
当我发现我的问题时,这个问题已经完成了 99%,所以,在 the answer here 之后,我将继续发布我的问题并立即回答。
【问题讨论】:
标签: git version-control tfs