/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/user-guide/recording_changes.txt

  • Committer: Jelmer Vernooij
  • Date: 2017-05-21 19:09:26 UTC
  • mfrom: (6622.1.36 breezy)
  • Revision ID: jelmer@jelmer.uk-20170521190926-5vtz8xaf0e9ylrpc
Merge rename to breezy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
Recording changes
2
2
=================
3
3
 
4
 
bzr commit
 
4
brz commit
5
5
----------
6
6
 
7
7
When the working tree state is satisfactory, it can be **committed** to
16
16
 
17
17
::
18
18
 
19
 
    % bzr commit -m "added my first file"
 
19
    % brz commit -m "added my first file"
20
20
 
21
21
You can also use the ``-F`` option to take the message from a file.  Some
22
22
people like to make notes for a commit message while they work, then
26
26
Message from an editor
27
27
----------------------
28
28
 
29
 
If you use neither the ``-m`` nor the ``-F`` option then bzr will open an
 
29
If you use neither the ``-m`` nor the ``-F`` option then brz will open an
30
30
editor for you to enter a message.  The editor to run is controlled by
31
31
your ``$VISUAL`` or ``$EDITOR`` environment variable, which can be overridden
32
32
by the ``editor`` setting in ``~/.bazaar/bazaar.conf``; ``$BZR_EDITOR`` will
53
53
If you give file or directory names on the commit command line then only
54
54
the changes to those files will be committed.  For example::
55
55
 
56
 
    % bzr commit -m "documentation fix" commit.py
 
56
    % brz commit -m "documentation fix" commit.py
57
57
 
58
 
By default bzr always commits all changes to the tree, even if run from a
 
58
By default brz always commits all changes to the tree, even if run from a
59
59
subdirectory.  To commit from only the current directory down, use::
60
60
 
61
 
    % bzr commit .
 
61
    % brz commit .
62
62
 
63
63
Giving credit for a change
64
64
--------------------------
67
67
if you are applying a patch from someone else, you can use the ``--author`` commit
68
68
option to give them credit for the change::
69
69
 
70
 
    % bzr commit --author "Jane Rey <jrey@example.com>"
 
70
    % brz commit --author "Jane Rey <jrey@example.com>"
71
71
 
72
72
The person that you specify there will be recorded as the "author" of the revision,
73
73
and you will be recorded as the "committer" of the revision.
76
76
are pair-programming, then you can record this by specifying ``--author`` multiple
77
77
times::
78
78
 
79
 
    % bzr commit --author "Jane Rey <jrey@example.com>" \
 
79
    % brz commit --author "Jane Rey <jrey@example.com>" \
80
80
        --author "John Doe <jdoe@example.com>"
81
81