This file contains 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
# Requirements | |
sudo aptitude install bzr-fastimport | |
# Create an empty Git repository | |
~/dev:$ mkdir repo.git | |
~/dev:$ cd repo.git | |
~/dev/repo.git:$ git init | |
# Export from Bazaar, import into Git | |
~/dev/repo.git:$ bzr fast-export --export-marks=marks.bzr ~/dev/repo.bzr/branch_1 | git fast-import --export-marks=marks.git |