Linux下安装配置git

参考博客:

https://www.cnblogs.com/luhouxiang/p/5801853.html
但执行git --version命令会出现

git version 1.8.3.1

不是最新版本

而进入/git/bin/目录下执行git --version命令,则会出现

git version 2.3.0

可通过bashrc下进行操作,如下:

原文地址:https://www.cnblogs.com/haoyul/p/9325518.html