用如下命令改成SSH的方式
git remote rm origin
git remote add origin git@github.com:username/repository.git
git push -u origin master
git学习 7 git每次push都输入用户名 密码
原文:https://www.cnblogs.com/liufei1983/p/8975865.html