git: pull is not a git-command. See git –help

Wednesday, 7. November 2012

I have come across this error on my server

git: 'pull' is not a git-command. See 'git --help'
Did you mean this?

After some time of debugging, I came to realize the problem is actually due to missing files in git core folder for this current account

To solve this.. Run the following command on the terminal

git --exec-path

Make sure the path displayed exists on your current user account. If not, then copy the files from the account with Git installation that works perfectly to this user account. You will need to create that directory structure of course!


Leave a Reply

You must be logged in to post a comment.