美文网首页
git仓库代码迁移简单四步

git仓库代码迁移简单四步

作者: 萧雪圣 | 来源:发表于2018-08-27 14:26 被阅读16次

    四行命令:

    git clone --mirror <URL to my OLD repo location>
    cd <New directory where your OLD repo was cloned>
    git remote set-url origin <URL to my NEW repo location>
    git push -f origin
    

    相关文章

      网友评论

          本文标题:git仓库代码迁移简单四步

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