首页 > 其他 > 详细

Git建立+解除关联相关操作

时间:2020-08-29 19:09:28      阅读:102      评论:0      收藏:0      [点我收藏+]

1、查看本地仓库与远程仓库的关联详情

$ git remote -v

2、建立关联并提交代码

git remote add origin https://xxxxxxx/wangdong/helloworld.git
git push -u origin master

3、解除关联--如果本地代码,已经关联了远程分支,则需要先解除关联

git remote remove origin

4、

 

 

 

 

.

Git建立+解除关联相关操作

原文:https://www.cnblogs.com/fightjianxian/p/13582931.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!