hg-fast-export

mercurial to git converter using git-fast-import

Install

All systems
curl cmd.cat/hg-fast-export.sh
Debian Debian
apt-get install hg-fast-export
Ubuntu
apt-get install hg-fast-export
Windows (WSL2)
sudo apt-get update sudo apt-get install hg-fast-export
OS X
brew install hg-fast-export
Raspbian
apt-get install hg-fast-export

hg-fast-export

mercurial to git converter using git-fast-import

hg-fast-export tool allows incremental import of mercurial repositories to git repositories. It can automatically import a local hg repo into a local git repo using just one command. Subsequent importing of new changesets is supported. Included git-hg wrapper script can be used to transparently track Mercurial repositories without a separate checkout. It also includes experimental support for pushing back to Mercurial.