Hi I just installed git cygwin on my windows pc at work, but somehow git pull doesn't seems to be working.
the out put is :
git: 'pull' is not a git-command. See 'git --help'.
Did you mean this? pull
Cant seem to figure this one out, this works fine using the msysgit version.
Could you check your shell (like this user did)?
echo $SHELL
/usr/local/anothershell
it should be:
echo $SHELL
/bin/bash
Check out also your $PATH
$ type -a git
> git is /cygdrive/c/cygwin/bin/git
export PATH=/bin:$PATH
$ type -a git
> git is /bin/git
> git is /cygdrive/c/cygwin/bin/git
Note: if you have the same kind of error for git-svn
(git: 'svn' is not a git-command. See 'git --help'.
), make sure that (see this blog post):
Error.pm
from CPAN
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With