How to create a brand new git repository from an existing hg repository. This is not explained on

  easy_install hg-git
  # Now edit your ~/.hgrc as per

  # Now make a bare git repository. Yes, bare.
  git init --bare ~/my-git-repo    # the --bare is important!

  # Now proceed as per
  cd ~/my-hg-project
  hg push ~/my-git-repo

Now cd to the git repo and check the log. If email addresses are broken, you may need to do something like


comments powered by Disqus