ggband

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2018年8月9日

摘要: 公司搬移, 作为git仓库的服务器IP地址变了。 本地代码挺多,重新检出太占时间,可以修改一个什么配置让我本地仓库和新的远程仓库建立关联吗, 答案是肯定的! 方法有很多,这里简单介绍几种: 以下均以项目git_test为例: 老地址:http://192.168.1.12:9797/john/git 阅读全文
posted @ 2018-08-09 13:35 ggband 阅读(945) 评论(0) 推荐(0) 编辑

摘要: git init git add README.md git commit -m "first commit" git remote add origin https://git.coding.net/ggband/xxx.git git push -f origin master 阅读全文
posted @ 2018-08-09 11:45 ggband 阅读(2435) 评论(0) 推荐(0) 编辑