/useful/trunk-1

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/useful/trunk-1

« back to all changes in this revision

Viewing changes to README

  • Committer: Gustav Hartvigsson
  • Date: 2021-01-13 19:36:09 UTC
  • Revision ID: git-v1:ea4f6f5b2714711550a04dcf50c07699b6431bf7
Added information on using Breezy with GitHub and such.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
Useful Scripts.
2
2
 
3
 
Get main reposetory:
4
 
$ brz brach lp:useful/trunk
 
3
Get main repository:
 
4
 
 
5
$ mkdir useful
 
6
$ cd useful
 
7
$ brz init-repo
 
8
$ brz branch lp:useful my_branch
 
9
$ cd my_branch
 
10
 
 
11
To you can do a merge request on both GitHub and Launchpad, but I prefer it
 
12
if you use launchpad.
 
13
 
 
14
To push a branch to github, you have to set up git to work with github, then
 
15
you can do the following:
 
16
 
 
17
$ cd path/to/useful/my_branch
 
18
$ brz push --lossy github:username/useful,branch=my_branch
 
19
 
 
20
To pull from GitHub (into a bazaar tree):
 
21
 
 
22
$ cd path/to/useful
 
23
$ brz branch trunk some_branch
 
24
$ cd some_branch
 
25
$ brz pull https://github.com/username/useful,branch=some_branch
 
26
 
 
27
You can also use brz transparently with git, this will pull the repo as git:
 
28
 
 
29
$ cd path/to/useful
 
30
$ brz branch https://github.com/username/useful,branch=some_branch some_branch
 
31
 
 
32
You can then merge from and to the bazaar tree.
5
33
 
6
34
This provides a set of -- what I find -- useful scripts. If you find any of them
7
35
useful, feel free to use them to your hearts content.
8
36
 
9
 
THESE SCRIPTS ARE PROVIDED WITHOUT ANY WARRENTY. USE AT YOUR OWN RISK.
 
37
THESE SCRIPTS ARE PROVIDED WITHOUT ANY WARRANTY. USE AT YOUR OWN RISK.