Converting Mercurial folder to a Git repository

后端 未结 9 2048
情话喂你
情话喂你 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 05:52

    If you're using github.com, they appear to have an import feature that lets you simply type in the URL of your hg project.

    First create a new repository and then on the new repository's landing page scroll to the bottom and click the "Import code" button.

    Then type the URL of your previous repository and hit "Begin import".

    Then GitHub takes care of the rest!

    Note that GitHub will ask you for your credentials for the old repository if it needs them.

    Ooh! I found the official guide

提交回复
热议问题