Last active
August 29, 2015 14:17
-
-
Save michaelwills/9fdf68eeecfa7ce5c706 to your computer and use it in GitHub Desktop.
Pulling a bzr repo for use in git
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#from http://paste.ubuntu.com/10621984/ | |
# [10:01] <marcoceppi> my_chiguai: we kind of abandonded keeping them in sync as we work towards a better charm store model | |
# [10:02] <marcoceppi> my_chiguai: you can follow these instructions to convert a bzr repo a git one if that better suites your workflow | |
# [10:03] <marcoceppi> my_chiguai: http://paste.ubuntu.com/10621984/ | |
# [10:03] <marcoceppi> my_chiguai: you may also need to run "git reset --hard" at the end | |
git init | |
bzr fast-export --plain . | git fast-import | |
git checkout -f master | |
rm -rf .bzr/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment