feat(gitcommit): add common git commit trailers (#447)

Co-authored-by and Signed-off-by are mentioned in [1].

On-behalf-of is from [2].

[1] https://git-scm.com/docs/git-commit#Documentation/git-commit.txt---trailerlttokengtltvaluegt
[2] https://docs.github.com/en/pull-requests/committing-changes-to-your-project/creating-and-editing-commits/creating-a-commit-on-behalf-of-an-organization
This commit is contained in:
Frederick Zhang 2024-05-28 13:05:24 +10:00 committed by GitHub
parent d17c2ea56a
commit aa1583f851
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -46,5 +46,17 @@
"breaking change conventional commit footer": {
"prefix": "BREAK",
"body": ["BREAKING CHANGE: $0"]
},
"co-authored by": {
"prefix": "co",
"body": ["Co-authored-by: ${1:name} <${2:email}>", "$0"]
},
"signed off by": {
"prefix": "si",
"body": ["Signed-off-by: ${1:name} <${2:email}>", "$0"]
},
"on behalf of": {
"prefix": "on",
"body": ["On-behalf-of: ${1:org} <${2:email}>", "$0"]
}
}