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