Skip to content

Commit 8f5799f

Browse files
committed
git/trailers: Document Co-authored-by, Reviewed-by, further sources
1 parent d6d806a commit 8f5799f

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

git/trailers.md

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
Git Commit Message Trailers
2+
===========================
3+
4+
* `Co-authored-by:` [GitHub standard][gh-multiauth] for multiple
5+
author attribution. If the co-author email address is associated
6+
with a GitHub account, the commit should appear in that account's
7+
activity list.
8+
9+
* `Reviewed-by:` My standard for indication of review, and that of
10+
others as well, notably the [Linux kernel][linux-sub], though it's
11+
[only on 5-10% of commits][linux-rev] there.
12+
13+
* `Signed-off-by:` See [so-1962094].
14+
15+
### Other sources of trailer conventions
16+
17+
* Git Wiki [CommitMessageConventions][gw-conv]
18+
* Linux kernel [Submitting patches][linux-sub] documentation
19+
20+
21+
22+
[gh-multiauth]: https://help.github.com/articles/creating-a-commit-with-multiple-authors/
23+
[gw-conv]: https://git.wiki.kernel.org/index.php/CommitMessageConventions
24+
[linux-rev]: https://sandeen.net/wordpress/computers/linux/who-reviews-linux-kernel-commits/
25+
[linux-sub]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?id=HEAD
26+
[so-1962094]: https://stackoverflow.com/questions/1962094/what-is-the-sign-off-feature-in-git-for

0 commit comments

Comments
 (0)