ubuntu下关于Git版本过高,拉取代码的要求

在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

猜你喜欢

转载自blog.csdn.net/yunna520/article/details/79995454