在Ubuntu是更新Git时,会自动更新到2.17。但是在Git大于2.16之后会报
ssh variant 'simple' does not support setting port 错误
Git更新语句
sudo add-apt-repository ppa:git-core/ppa
sudo apt-get update
sudo apt-get install git
修改simple只需要运行下面语句
git config --global ssh.variant ssh
在Ubuntu是更新Git时,会自动更新到2.17。但是在Git大于2.16之后会报
ssh variant 'simple' does not support setting port 错误
Git更新语句
sudo add-apt-repository ppa:git-core/ppa
sudo apt-get update
sudo apt-get install git
修改simple只需要运行下面语句
git config --global ssh.variant ssh