Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
docs: Add section about mentioning others to commit discipline doc.
Alya Abbott660ccccf681c
diff --git a/docs/contributing/commit-discipline.md b/docs/contributing/commit-discipline.mdindex 5b43647990c..ca620560256 100644--- a/docs/contributing/commit-discipline.md+++ b/docs/contributing/commit-discipline.md@@ -279,6 +279,23 @@ might worry about it breaking.you developed this commit or pull request, like "First I tried X" or"I changed Y".+#### Mentioning other contributors++You can+[credit](https://docs.github.com/en/pull-requests/committing-changes-to-your-project/creating-and-editing-commits/creating-a-commit-with-multiple-authors)+co-authors on a commit by adding a `Co-authored-by:` line after a blank line at+the end of your commit message:++ Co-authored-by: Greg Price <[email protected]>++You can also add other notes, such as `Reported-by:`, `Debugged-by:`, or+`Suggested-by:`, but we don't typically do so.++**Never @-mention a contributor in a commit message**, as GitHub will turn this into+a notification for the person every time a version of the commit is rebased and+pushed somewhere. If you want to send someone a notification about a change,+@-mention them in the PR thread.+#### Formatting guidelinesThere are a few specific formatting guidelines to keep in mind: