【Git】git 取消与远程仓库的的连接

查看远程连接

git remote -v

git取消与远程仓库的连接

git remote remove origin

重新连接远程仓库

git remote add origin 仓库地址

第一次提交到远程仓库

git push -u origin

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章