美文网首页
刘月林 | 修改 GitHub 远程地址

刘月林 | 修改 GitHub 远程地址

作者: 刘月林Yuelin_MELB | 来源:发表于2018-08-23 16:19 被阅读0次

步骤

  1. 查看远程地址
    $git remote -v
git remote -v
origin  https://github.com/liuyuelintop/twittter.git (fetch)
origin  https://github.com/liuyuelintop/twittter.git (push)
  1. 修改远程地址
    使用remote set-url命令进行修改
git remote set-url origin https://github.com/liuyuelintop/welcome.git
  1. 再次查看远程地址
    $git remote -v
git remote -v
origin  https://github.com/liuyuelintop/welcome.git (fetch)
origin  https://github.com/liuyuelintop/welcome.git (push)

刘月林
写于湖北荆门
2018/08/23

相关文章

网友评论

      本文标题:刘月林 | 修改 GitHub 远程地址

      本文链接:https://www.haomeiwen.com/subject/rxrmiftx.html