linux下安装git出现的问题

使用源码安装git后使用git --version命令出现的问题

$ git --version
-bash: /usr/bin/git: No such file or directory


参考:https://www.cnblogs.com/imyalost/p/8715688.html

一开始我以为是PATH没配置好,又反复确认了一下profile文件,没问题啊,最终在这一篇博客上找到了解决方法,原来关闭一下终端连接就可以了

参考 : https://www.cnblogs.com/salt-fish1/p/10207878.html

猜你喜欢

转载自www.cnblogs.com/qds1401744017/p/13401876.html