commit cb2380e2186cfbb01c3b5326d93a53af57f150d1
parent 196cfdec4ba17009626cc2a690a8741148c56c91
Author: William Casarin <jb55@jb55.com>
Date: Mon, 10 Jul 2023 17:37:01 -0700
docs: add git-contacts example
git-contacts is a great way to cc people who have touched the same hunk
of code before.
Signed-off-by: William Casarin <jb55@jb55.com>
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md
@@ -131,7 +131,10 @@ then only post say 15 or so at a time and wait for review and integration.
You should always copy the appropriate people on any patch to code that
they may have been involved with. You can use
[git-contacts][git-contacts] to find people who have touched the code
-previously.
+previously:
+
+ $ git format-patch --cover-letter -o patches origin/master..my-feature
+ $ git send-email --dry-run --cc-cmd=git-contacts patches/*
patches@damus.io should be used by default for all patches.