Skip to content

Instantly share code, notes, and snippets.

@prestontimmons
Created May 8, 2012 16:16
Show Gist options
  • Save prestontimmons/2636865 to your computer and use it in GitHub Desktop.
Save prestontimmons/2636865 to your computer and use it in GitHub Desktop.
Convert mercurial repository to git
git clone git://repo.or.cz/fast-export.git
git init git_repo
cd git_repo
~/Desktop/fast-export/hg-fast-export.sh -r /path/to/old/mercurial_repo
git checkout HEAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment