码迷,mamicode.com
首页 > 其他好文 > 详细

git更新远程仓库地址

时间:2020-01-30 17:15:36      阅读:96      评论:0      收藏:0      [点我收藏+]

标签:git   xxxxxx   更新   xxx   xxxx   xxxxx   hub   url   remote   

最近公司代码仓库由github转gitlab,需要更新一些仓库的远程地址:

一、查看远程仓库地址

git remote -v

二、更新远程仓库地址

git remote set-url origin https://git.xxxxxxxxx.git

 

git更新远程仓库地址

标签:git   xxxxxx   更新   xxx   xxxx   xxxxx   hub   url   remote   

原文地址:https://www.cnblogs.com/weihengblog/p/12242977.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!