我最近将我的MacBook Pro升级到Snow Leopard,然后执行“git pull”命令会返回以下内容:
rakudo $ git pull
git: 'pull' is not a git-command. See 'git --help'
Did you mean this?
shell
rakudo $ git-pull
-bash: git-pull: command not found
我尝试通过macports重新安装,但无效。 然后我看到了这个
rakudo $ git --exec-path
/Users/ovid/libexec/git-core
这让我感到惊讶,因为该目录并不存在,也从未存在过。谷歌没有帮助。希望你能帮忙解决 :)
ln -s /Applications/Xcode.app/Contents/Developer/usr/bin/git ~/bin/git
- shakthi