Skip to content

GitMigrationProcedure

Trac2Gollum edited this page Jun 20, 2013 · 3 revisions

Git Migration

There are various tools available to do perform the conversion from Mercurial to Git however fast-export seems to have the best reviews. The procedure is as follows

  1. git clone git://repo.or.cz/fast-export.git Download the fast-export tool
  2. mkdir new_git_repo cd new_git_repo git init Create the destination Git repository
  3. /path/to/hg-fast-export.sh -r /path/to/hg_repo Run the conversion
  4. git checkout

Clone this wiki locally