Ubuntu下git版本升級

1、查看git版本

git --version

2、升級Git

sudo apt update  # 更新源
sudo apt install software-properties-common # 安裝 PPA 需要的依賴
sudo add-apt-repository ppa:git-core/ppa    # 向 PPA 中添加 git 的軟件源
sudo apt-get update
sudo apt-get install git
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章