summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2024-07-31 02:39:04 -0700
committerXiao Pan <xyz@flylightning.xyz>2024-08-02 14:47:28 -0700
commit5fe1225deaf17c804230bc4ff2692c83969ab141 (patch)
tree2a5073370599cc2171c7c58b7b5f6fde81681e74 /home
parent392dab4b690e21cc9e15165171e36ec79d1da73b (diff)
git configure format-patch always signoff
This config add Signed-off-by in commit msg. Related urls: https://mikegerwitz.com/2012/05/a-git-horror-story-repository-integrity-with-signed-commits https://stackoverflow.com/questions/46314273/keeping-gpg-signature-in-git-patches-with-format-patch https://handbook.gnome.org/development/commit-messages.html https://docs.kernel.org/process/5.Posting.html https://docs.kernel.org/translations/zh_CN/process/5.Posting.html https://docs.kernel.org/translations/zh_CN/process/submitting-patches.html#cn-submittingpatches https://wiki.openstack.org/wiki/GitCommitMessages
Diffstat (limited to 'home')
-rw-r--r--home/xyz/.config/git/config2
1 files changed, 2 insertions, 0 deletions
diff --git a/home/xyz/.config/git/config b/home/xyz/.config/git/config
index 27649804..10e19af9 100644
--- a/home/xyz/.config/git/config
+++ b/home/xyz/.config/git/config
@@ -3,3 +3,5 @@
name = Xiao Pan
[url "https://github.com/"]
insteadOf = git://github.com/
+[format]
+ signOff = true