-bash: git: command not found

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了-bash: git: command not found相关的知识,希望对你有一定的参考价值。

最近在测试openstack,没想到刚敲俩行就报

 

-bash: git: command not found


再看下配置

vim /etc/profile

-bash: vim: command not found


一定是源选择了最小化安装的centos


yum install git


ok


本文出自 “bomby” 博客,请务必保留此出处http://bomby.blog.51cto.com/6787568/1948826

以上是关于-bash: git: command not found的主要内容,如果未能解决你的问题,请参考以下文章

gitgit: ‘interpret-trailers’ is not a git command. See ‘git --help’

gitgit: ‘interpret-trailers’ is not a git command. See ‘git --help’

gitgit: ‘interpret-trailers’ is not a git command. See ‘git --help’

错误记录Git 使用报错 ( git: ‘switch‘ is not a git command. See ‘git --help‘. )

错误记录Git 使用报错 ( git: ‘switch‘ is not a git command. See ‘git --help‘. )

解决zsh: command not found: gitk,将git路径/usr/bin/git修改为/usr/local/bin/git