1. 程式人生 > >ubuntu下關於Git版本過高,拉取程式碼的要求

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