[root@localhost git]# ls /usr/local/git
bin lib libexec share
[root@localhost git]# git --version
-bash: git: command not found
...全文
83245打赏收藏
git已经安装了,为什么git --version还提示 command not found
环境: centos6.3 git-2.9.3.tar.gz [root@localhost git]# ls /usr/local/git bin lib libexec share [root@localhost git]# git --version -bash: git: command not found