我一直在尝试按照说明( git - tf _GettingStarted.html)设置从xcode到TFS2010的git-tf集成
我认为我的问题是正确设置path变量。
我在终端中,通过“打开.profile”创建了一个.profile文件
我输入了以下两行:
export PATH=”/Applications/Xcode.app/Contents/Developer/usr/libexec/git-core/”:$PATH
export PATH=”/Users/ssmith/Git-Tf/”:$PATH已保存,已启动终端,但终端无法识别我的命令:
Stevens-MacBook-Pro:~ ssmith$ git tf
-bash: git: command not found你知道我错过了什么吗?
发布于 2012-10-09 05:05:01
从该错误消息中,我猜测git没有安装,或者至少没有正确安装。有关如何在Mac上设置git的信息,请参阅http://git-scm.com/book/en/Getting-Started-Installing-Git#Installing-on-Mac。
https://stackoverflow.com/questions/12788167
复制相似问题