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


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、

 

 

 

 

.


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM