Last active
May 8, 2018 11:43
-
-
Save Agnostic/d59b1c7fe76309486da0 to your computer and use it in GitHub Desktop.
/git-core/git-pull: line 11: git-sh-setup: No such file or directory (git pull Yosemite FIX)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Open: | |
/Applications/Xcode.app/Contents/Developer/usr/libexec/git-core/git-pull | |
// Replace line 11 & 12 | |
. git-sh-setup | |
. git-sh-i18n | |
// With this: | |
. /Applications/Xcode.app/Contents/Developer/usr/libexec/git-core/git-sh-setup | |
. /Applications/Xcode.app/Contents/Developer/usr/libexec/git-core/git-sh-i18n | |
// Find: | |
eval="git-merge $diffstat $no_commit $verify_signatures $edit $squash $no_ff $ff_only" | |
// And do the same: | |
eval="/Applications/Xcode.app/Contents/Developer/usr/libexec/git-core/git-merge $diffstat $no_commit $verify_signatures $edit $squash $no_ff $ff_only" |
This fix worked for me too – good catch.
Hopefully this will get some traction and be fixed soon with xcode.
Nice, the fix work like a charm but I had the same pb with /Applications/Xcode.app/Contents/Developer/usr/libexec/git-core/git-submodule I had to change :
18 . git-sh-setup┓
19 . git-sh-i18n┓
20 . git-parse-remote┓
to
18 . /Applications/Xcode.app/Contents/Developer/usr/libexec/git-core/git-sh-setup┓
19 . /Applications/Xcode.app/Contents/Developer/usr/libexec/git-core/git-sh-i18n┓
20 . /Applications/Xcode.app/Contents/Developer/usr/libexec/git-core/git-parse-remote┓
Thanks! it works perfectly!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nice ... just what I needed ... Thanks!