All of a sudden git pull stopped working on cygwin. It gives me this recursive error message.

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

Did you mean this?
        pull

I can do a git status and other git commands but for some reason pull doesn't want to work. It had previously been working for a long time before this. I've been seeing this issue after a restart. I tried clobbering and doing a full reinstall of cygwin but I'm still having the same problem. My paths seem to be fine.

$ type -a git
git is /usr/bin/git
git is /bin/git

More info: The executables for the git commands appear to be under /usr/lib/git-core and git-pull is a shell script with no extension and the !/bin/sh header.

link|improve this question

75% accept rate
feedback

2 Answers

Do you have Perl installed, and do you have an anti-virus running?

Try installing Perl and disabling your anti-virus temporarily.

link|improve this answer
Thanks, not the issue. – Pierre-Antoine LaFayette Oct 21 '10 at 2:33
feedback

Maybe one of the answers to these StackOverflow questions can help :

“git pull” broken
Git pull cygwin not a git-command

link|improve this answer
Thanks, but I've seen those. They don't seem to be relevant for my case. The only thing I can think of is that my cygwin is originally based of the webkit cygwin bundle. Maybe something is invalid with that config. I'll try clean installing from the internet next. – Pierre-Antoine LaFayette Oct 21 '10 at 2:33
Yes, one of the listed solutions was a clean reinstall. – harrymc Oct 21 '10 at 5:48
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.