zl程序教程

您现在的位置是:首页 >  工具

当前栏目

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

Git 操作 相关 建立 关联 解除
2023-09-11 14:19:05 时间

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、

 

 

 

 

.