Skip to content

Commit

Permalink
Merge branch 'maint'
Browse files Browse the repository at this point in the history
* maint:
  commit.txt: clarify how --author argument is used
  • Loading branch information
Junio C Hamano committed Jun 7, 2010
2 parents 6240161 + 3334729 commit 4a2b34e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Documentation/git-commit.txt
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,11 @@ OPTIONS
read the message from the standard input.

--author=<author>::
Override the author name used in the commit. You can use the
standard `A U Thor <author@example.com>` format. Otherwise,
an existing commit that matches the given string and its author
name is used.
Override the commit author. Specify an explicit author using the
standard `A U Thor <author@example.com>` format. Otherwise <author>
is assumed to be a pattern and is used to search for an existing
commit by that author (i.e. rev-list --all -i --author=<author>);
the commit author is then copied from the first such commit found.

--date=<date>::
Override the author date used in the commit.
Expand Down

0 comments on commit 4a2b34e

Please sign in to comment.