6

git项目修改remote

 3 years ago
source link: http://quangelab.com/git-remote/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
git项目修改remote – ruquan.z – github技术博客,成长在于积累。

git项目修改remote

切换remote的简单方法: 或者直接改.git目录下的config文件,将code.csdn.net改为code.beyond.csdn.net。以切换remote 对于labhub项目,需要同时修改./git/modules/app/assets/config文件

git remote remove origin
git remote add origin [email protected]:code_product/code_dl.git
git branch --set-upstream-to=origin/master
git checkout develop
git branch --set-upstream-to=origin/develop
Written on February 7, 2017

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK