git 源码安装
`
下载地址
https://github.com/git/git/tags
存放位置
[root@china git]# pwd
/usr/local/git
make configure
./configure --prefix=/usr/local/git
make prefix=/usr/local/git all -j8
make prefix=/usr/local/git install -j8
编辑配置文件
vim /etc/profile
在 /etc/profile 文件中末尾追加以下内容(相信你肯定已熟练掌握 Vim 使用啦)
export PATH=$PATH:/usr/local/git/bin
回到终端, 刷新配置
source /etc/profile
查看版本
git version
`
posted on 2022-09-09 16:48 Indian_Mysore 阅读(167) 评论(0) 收藏 举报
浙公网安备 33010602011771号