博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
git修改远程仓库地址
阅读量:4183 次
发布时间:2019-05-26

本文共 181 字,大约阅读时间需要 1 分钟。

方法有三种:

1.修改命令

git remote set-url origin [url]

例如: remote set-url origin gitlab@gitlab.chumob.com:/hasoffer.git

2.先删后加

git remote rm origin

git remote add origin [url]

3.直接修改config文件

转载地址:http://xbzoi.baihongyu.com/

你可能感兴趣的文章
Jackson Tree Model Example
查看>>
常用js收集
查看>>
如何防止sql注入
查看>>
springmvc传值
查看>>
在Eclipse中查看Android源码
查看>>
[转]C语言printf
查看>>
Mysql中下划线问题
查看>>
Xcode 11 报错,提示libstdc++.6 缺失,解决方案
查看>>
vue项目打包后无法运行报错空白页面
查看>>
1136 . 欧拉函数
查看>>
面试题:强制类型转换
查看>>
Decorator模式
查看>>
Template模式
查看>>
Observer模式
查看>>
高性能服务器设计
查看>>
图文介绍openLDAP在windows上的安装配置
查看>>
Pentaho BI开源报表系统
查看>>
Pentaho 开发: 在eclipse中构建Pentaho BI Server工程
查看>>
android中SharedPreferences的简单例子
查看>>
android中使用TextView来显示某个网址的内容,使用<ScrollView>来生成下拉列表框
查看>>