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
最后
以上就是难过小熊猫最近收集整理的关于Ubuntu下git版本升级的全部内容,更多相关Ubuntu下git版本升级内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复