LoginSignup
1
1

More than 5 years have passed since last update.

git: 'pull' is not a git commandと出たときの対処法

Posted at
$ git pull origin master

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

Did you mean this?  
    shell  

と言われてしまいました。
git-coreのパスが通ってなかったのが原因。

$ locate git-core

で探して、

export GIT_EXEC_PATH=/path/to/git-core

通してあげると、いけました。

参考:
http://blog.absolutedisaster.co.uk/git-pull-is-not-a-git-command-fix-centos-5

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1