Converting Mercurial folder to a Git repository

后端 未结 9 2053
情话喂你
情话喂你 2020-12-04 05:21

I don\'t have a huge experience with Mercurial, I\'m mostly a Git guy.

I would love to mirror a specific Mercurial folder/file in a git Repository. What I\'m actuall

9条回答
  •  一向
    一向 (楼主)
    2020-12-04 06:05

    You can (from Mercurial side):

    • using Convert extension with --filemap option convert part of original repo into smaller with only needed files|directories
    • with hg-git extension push stripped repo to Git

    or (instead of hg-git), using Mercurial bridge in Git, clone|pull repository from Git

提交回复
热议问题