首先進入項目所在文件夾,右鍵git bash
(1)查看當前的遠程地址
git remote -v
(2)刪除當前的遠程地址
git remote rm origin
(3)添加遠程地址
git remote add origin (git@...)
(*4)首次推代碼
git push -u origin master
https://blog.csdn.net/S3328047358/article/details/98183662
https://www.cnblogs.com/wintertone/p/11650058.html