Ubuntu使用ppa源安装最新版git

来源:互联网 发布:零售业软件 编辑:程序博客网 时间:2024/06/08 07:55

1. 添加git源

$ sudo add-apt-repository ppa:git-core/ppa

2. 更新软件列表

$ sudo apt-get update

3. 安装git

$ sudo apt-get install git

这时候再安装就可以发现git版本跟官网最新版是一致的了。

0 0