方式1、直接修改:
git remote set-url origin xxxxx.git
方式2、先删后加 :
git remote rm origin
git remote add origin xxxxx.git
合并本地分支 git merge develop
创建分支 git checkout -b dev
查看分支 git branch -a
查看状态 git status
拉取分支 git fetch upstream
切换分支 git checkout develop
查询分支 git remote -v
合并远程分支 git merge upstream/develop
提交分支 git push -u origin develop
添加分支 git cherry-pick [分支]
删除远程仓库连接 git remote remove origin
远程仓库连接 git remote add origin [本地连接]
远程主仓库 git remote add upstream [远程连接]
查询远程连接 git remote -v