一、前言
git新老版本有兼容问题,个人在实际开发中遇到过,直接安装新版git防止该问题产生
二、下载安装
sudo add-apt-repository ppa:git-core/ppa
sudo apt-get install git
git --version
在git bash 中执行命令:git config --global credential.helper store用于保存账号密码
增加自动补齐
https://www.cnblogs.com/memory4young/p/git-command-auto-completion.html