`
villins
  • 浏览: 23962 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论

how to change the orgin remote

git 
阅读更多
You can

git remote set-url origin git://new.url.here
(see git help remote) or you can just edit .git/config and change the URLs there. You're not in any danger of losing history unless you do something very silly (and if you're worried, just make a copy of your repo, since your repo is your history.)


http://stackoverflow.com/questions/2432764/how-to-change-a-remote-repository-uri-using-git
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics