美文网首页
Git仓库完全迁移,包括所有的分支和标签,日志。

Git仓库完全迁移,包括所有的分支和标签,日志。

作者: 火鸡不肥 | 来源:发表于2019-09-29 16:57 被阅读0次
    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/ogtqpctx.html