Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
3  
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
add comment

4 Answers 4

up vote 5 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
add comment

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
add comment

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
add comment

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
add comment

Your Answer

 
discard

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.