【发布时间】:2010-11-30 17:25:38
【问题描述】:
我最近将我的 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
这让我感到惊讶,因为该目录不存在,也从未存在过。谷歌在这里没有帮助。希望你能:)
【问题讨论】:
-
当我试图从 Xcode 包中破解 git 二进制文件时,我遇到了同样的问题。
ln -s /Applications/Xcode.app/Contents/Developer/usr/bin/git ~/bin/git
标签: git macos osx-snow-leopard