Ubuntu下apt方式安装与更新Git

本人使用的系统 Ubuntu 18.04.1 ,使用apt安装Git:

sudo apt insatll git

安装后发现不是最新的版本,更新方法:

sudo add-apt-repository ppa:git-core/ppa
sudo apt update
sudo apt upgrade

猜你喜欢

转载自www.cnblogs.com/xgo0104/p/10247656.html
今日推荐