3
3
This provides a set of -- what I find -- useful scripts. If you find any of them
4
useful, feel free to use them to your hearts content.
6
THESE SCRIPTS ARE PROVIDED WITHOUT ANY WARRENTY. USE AT YOUR OWN RISK.
4
useful, feel free to use them to your hearts content
6
THESE SCRIPTS ARE PROVIDED WITHOUT ANY WARRANTY. USE AT YOUR OWN RISK.
9
--------------------------------------------------------------------------------
16
$ brz branch lp:useful my_branch
19
To you can do a merge request on both GitHub and Launchpad, but I prefer it
23
$ brz branch trunk some_branch
26
$ brz push lp:~username/useful/some_branch
28
Please note that you can also use git on launchpad, please see:
29
https://help.launchpad.net/Code/Git
31
To push a branch to github, you have to set up git to work with github, then
32
you can do the following:
34
$ cd path/to/useful/some_branch
35
$ brz push --lossy github:username/useful,branch=my_branch
37
To pull from GitHub (into a bazaar tree):
40
$ brz branch trunk some_branch
42
$ brz pull github:username/useful,branch=some_branch
44
You can also use brz transparently with git, this will pull the repo as git:
47
$ brz branch github:username/useful.git some_branch
49
You can then merge from and to the bazaar tree.
52
$ brz diff ../some_git_branch.git
56
$ cd some_git_branch.git
57
$ brz diff ../some_bzr_branch