We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6240161 + 3334729 commit 4a2b34eCopy full SHA for 4a2b34e
1 file changed
Documentation/git-commit.txt
@@ -95,10 +95,11 @@ OPTIONS
95
read the message from the standard input.
96
97
--author=<author>::
98
- Override the author name used in the commit. You can use the
99
- standard `A U Thor <author@example.com>` format. Otherwise,
100
- an existing commit that matches the given string and its author
101
- 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>);
102
+ the commit author is then copied from the first such commit found.
103
104
--date=<date>::
105
Override the author date used in the commit.
0 commit comments