mirror of
https://github.com/rafamadriz/friendly-snippets
synced 2024-09-16 22:14:02 +02:00
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:
parent
d17c2ea56a
commit
aa1583f851
1 changed files with 12 additions and 0 deletions
|
@ -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"]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue