sudo: git: command not found 但是发现git命令找不到 二、使用whereis找git的绝对路径 [dev@dev1 client_api]$ whereis git git: /usr/local/git 再次尝试 [dev@dev1 client_api]$ sudo /usr/local/git pull origin develop sudo: /usr/local/git: command not found 还是不对的 换成which试试 [dev...
[dev@dev1 client_api]#sudo git pull origin developsudo: git: commandnotfound 但是发现git命令找不到 二、使用whereis找git的绝对路径 [dev@dev1 client_api]$ whereis git git:/usr/local/git 再次尝试 [dev@dev1 client_api]$ sudo /usr/local/git pull origin develop sudo:/usr/local/git: com...