git: 'pull' is not a git command. See 'git --help'
12,306
Can you confirm that git-core is in the correct place?
iMac:~ david$ git --exec-path
/usr/local/git/libexec/git-core
iMac:~ david$ ls /usr/local/git/libexec/
git-core
iMac:~ david$
Comments
-
James Raitsev almost 2 years
Possible Duplicate:
“git pull” brokenUsing
git version 1.7.5.4
on my MACWhen trying to
pull
from remote, i am getting thegit: 'pull' is not a git command. See 'git --help'.
error.This used to work. Something changed on my system, not sure what.
How can this be resolved please? What might be the problem here?
-
Wooble over 11 yearsWe sure don't know better than you what you did to your machine. Try reinstalling git?
-
ppeterka over 11 yearsDid you look at this?
-
-
James Raitsev over 11 yearsI have
/usr/libexec/git-core
coming back, following byls: /usr/libexec/git-core: No such file or directory
. Where could my path have been screwed up? I am usingoh-my-zsh
withplugins=(git)
entry. This change is the only one i can think of -
Rawkode over 11 yearsDo you have the same directory as me per chance? You could always create a symlink to fix the discrepancy or create a git alias that sets --exec-path.
-
James Raitsev over 11 yearsI searched for the
git-core
and added it to path. All is ok now. Not sure what happened. Thanks man -
michael about 10 yearsFor details on this issue, see the "possible duplicate", stackoverflow.com/questions/1465398/git-pull-broken