Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am quite used to using git, is there an easy way to import/export from bzr into git and back bzr once I have made commits?

share|improve this question
Since this is not strictly an Ubuntu question, it might be more helpful to ask similar things on StackOverflow in the future. – erjiang Nov 2 '10 at 19:33
up vote 6 down vote accepted

Take a look at git-bzr. Note the Python rewrites at the bottom of the readme, which may integrate better. Also be advised that there are quite a few forks / derivatives of git-bzr around, but this seems to be most recently active; you may want to look around github for similar things.

share|improve this answer

bzr-git has a "bzr dpush" command that you can use to push a branch into git and a "bzr pull" command that can be used to pull new Git commits into the bzr branch.

share|improve this answer

I followed the instructions on Jeff Hodges' blog, which uses tailor to do the migration. There's a list of migration tools available on the bzr website.

share|improve this answer

You can add and use "Bridge support in git for mercurial and bazaar"

You can clone both mercurial and bazaar repositories now with little to no effort. The original repository will be tracked like any git repository... You can pull, and in fact push as well. Actually, you wouldn’t even notice that this remote is not a git repository. You can create and push new branches... everything.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.