OSX 10.10 yosemite beta on git pull: git-sh-setup: No such file or directory

后端 未结 10 2131
醉话见心
醉话见心 2020-12-22 18:33

After upgrading to OSX 10.10 Yosemite Beta, running git pull is returning the following error:

/Library/Developer/CommandLineTools/usr/li

10条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-22 19:25

    Ubiquill's workaround applies for git rebase (and presumably whichever other functions don't work) as well. In that case, it requires replacing lines 47 and 48 with the following *:

    . /usr/local/Cellar/git/2.0.0/libexec/git-core/git-sh-setup
    . /usr/local/Cellar/git/2.0.0/libexec/git-core/git-sh-i18n
    

    * This path assumes that you have git installed with homebrew, and it lives inside of /usr/local/Cellar/git/2.0.0/.

提交回复
热议问题