/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to doc/en/tutorials/using_breezy_with_github.txt

  • Committer: Jelmer Vernooij
  • Date: 2020-03-22 01:35:14 UTC
  • mfrom: (7490.7.6 work)
  • mto: This revision was merged to the branch mainline in revision 7499.
  • Revision ID: jelmer@jelmer.uk-20200322013514-7vw1ntwho04rcuj3
merge lp:brz/3.1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
GitHub is a code hosting service so you can push your
40
40
branch to it and others can access your code from there.
41
41
 
42
 
In the GitHub web UI, you can create a "fork" of an upstream repository. For
43
 
example, if user "jelmer" forked the inkscape repository at
44
 
https://github.com/inkscape/inkscape then the fork would be at
45
 
https://github.com/jelmer/inkscape.
46
 
 
47
 
You can then push your changes to a branch like this::
48
 
 
49
 
  brz push git+ssh://github.com/jelmer/inkscape,branch=my-branch
50
 
 
51
 
Others can then download your code like this::
52
 
 
53
 
  brz branch git://github.com/jelmer/inkscape,branch=my-branch
54
 
 
 
42
The first time you use GitHub, you will need to log into to your GitHub account
 
43
with Breezy. This can be done by running ``brz github-login``. This will prompt
 
44
you for your password, and store the authentication token in ~/.config/breezy.
 
45
 
 
46
You can now use either ``brz publish`` to upload the changes back to
 
47
GitHub, or ``brz propose`` to upload to the changes to GitHub and
 
48
create merge proposal.
 
49
 
 
50
Both ``brz publish`` and ``brz propose`` will create a fork of the upstream
 
51
repository and then push your local changes to the active branch
 
52
(or another branch specify with the --name argument).
 
53
 
 
54
For example, running ``brz publish --name=my-branch`` in your local inkscape
 
55
clone will create https://github.com/jelmer/inkscape if your GitHub username is
 
56
"jelmer", and it will open your editor to allow you to enter the merge proposal
 
57
description.
 
58
 
 
59
Subsequent use of ``brz publish`` in the local branch (e.g. to push more
 
60
commits) will update the previously created branch.
55
61
 
56
62
Associating branches with GitHub issues
57
63
---------------------------------------