git多仓库切换

查看远程仓库:git remote -v
添加远程仓库:git remote add gitee [email protected]:zhang/admin.git
推送到新添加的远程仓库:git push gitee
git push,git pull默认是origin,gitee是我们新添加的,需要加上仓库名称。

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