1GIT-REMOTE-BZR(1) GIT-REMOTE-BZR(1)
2
3
4
6 git-remote-bzr - bidirectional bridge between Git and Bazaar
7
9 git clone bzr::<bzr repository>
10
12 This tool allows you to transparently clone, fetch and push to and from
13 Bazaar repositories as if they were Git ones.
14
15 To use it you simply need to use the "bzr::" prefix when specifying a
16 remote URL (e.g. when cloning).
17
19 git clone bzr::lp:ubuntu/hello
20
22 Remember to run git gc --aggressive after cloning a repository,
23 specially if it’s a big one. Otherwise lots of space will be wasted.
24
25 The oldest version of Bazaar supported is 2.0. Older versions are not
26 tested.
27
28 Branches vs. repositories
29 Bazaar’s UI can clone only branches, but a repository can contain
30 multiple branches, and git-remote-bzr can clone both.
31
32 For example, to clone a branch:
33
34 git clone bzr::bzr://bzr.savannah.gnu.org/emacs/trunk emacs-trunk
35
36 And to clone the whole repository:
37
38 git clone bzr::bzr://bzr.savannah.gnu.org/emacs emacs
39
40 The second command would clone all the branches contained in the emacs
41 repository, however, it’s possible to specify only certain branches:
42
43 git config remote-bzr.branches 'trunk, xwindow'
44
45 Some remotes don’t support listing the branches contained in the
46 repository, in which cases you need to manually specify the branches,
47 and while you can specify the configuration in the clone command, you
48 might find this easier:
49
50 git init emacs
51 git remote add origin bzr::bzr://bzr.savannah.gnu.org/emacs
52 git config remote-bzr.branches 'trunk, xwindow'
53 git fetch
54
55
56
57 07/25/2019 GIT-REMOTE-BZR(1)