6 git-remote-bzr - bidirectional bridge between Git and Bazaar
12 'git clone' bzr::<bzr repository>
18 This tool allows you to transparently clone, fetch and push to and from Bazaar
19 repositories as if they were Git ones.
21 To use it you simply need to use the "'bzr::'" prefix when specifying a remote URL
27 --------------------------------------
28 git clone bzr::lp:ubuntu/hello
29 --------------------------------------
35 Remember to run `git gc --aggressive` after cloning a repository, specially if
36 it's a big one. Otherwise lots of space will be wasted.
38 The oldest version of Bazaar supported is 2.0. Older versions are not tested.
40 Branches vs. repositories
41 ~~~~~~~~~~~~~~~~~~~~~~~~~
43 Bazaar's UI can clone only branches, but a repository can contain multiple
44 branches, and 'git-remote-bzr' can clone both.
46 For example, to clone a branch:
48 -------------------------------------
49 git clone bzr::bzr://bzr.savannah.gnu.org/emacs/trunk emacs-trunk
50 -------------------------------------
52 And to clone the whole repository:
54 -------------------------------------
55 git clone bzr::bzr://bzr.savannah.gnu.org/emacs emacs
56 -------------------------------------
58 The second command would clone all the branches contained in the emacs
59 repository, however, it's possible to specify only certain branches:
61 -------------------------------------
62 git config remote-bzr.branches 'trunk, xwindow'
63 -------------------------------------
65 Some remotes don't support listing the branches contained in the repository, in
66 which cases you need to manually specify the branches, and while you can
67 specify the configuration in the clone command, you might find this easier:
69 -------------------------------------
71 git remote add origin bzr::bzr://bzr.savannah.gnu.org/emacs
72 git config remote-bzr.branches 'trunk, xwindow'
74 -------------------------------------