Il court, il court

Il est passé par ici, il repassera par là

Converting from Mercurial to Git February 10, 2010

Filed under: work — ilcourtilcourt @ 11:22


It’s a relatively simple process. First we download fast-export (the best way is via its Git repository, which I’ll clone right to the desktop), then we create a new git repository, perform the migration, and check out the HEAD. On the command line, it goes like this:

cd ~/Desktop

git clone git://

git init git_repo

cd git_repo

~/Desktop/fast-export/ -r /path/to/old/mercurial_repo

git checkout HEAD

via Hivelogic – Converting from Mercurial to Git.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s