Created
January 12, 2010 05:13
-
-
Save jefftriplett/274935 to your computer and use it in GitHub Desktop.
convert a mercurial (HG) repo to Git
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Converting an HG repo to Git with commit history (via: http://tinyurl.com/yajlk9x) | |
$ git clone git://repo.or.cz/fast-export.git | |
$ mkdir new_git_repo | |
$ cd new_git_repo | |
$ git init | |
$ /path/to/hg-fast-export.sh -r /path/to/hg_repo | |
$ git checkout HEAD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment