mirror of
https://github.com/conventional-commits/conventionalcommits.org.git
synced 2026-03-22 12:44:37 -05:00
Are footers key/value pairs? #71
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @epage on GitHub (Jul 26, 2019).
I'm used to footers being key/value pairs:
BREAKING CHANGE: what changedCo-Authored-By: some nameIn reading an example of the web page:
I'm trying to figure out if
close issue #12is being treated as a footer or another paragraph in the body.@epage commented on GitHub (Jul 26, 2019):
Key/value pairs are helpful for
@damianopetrungaro commented on GitHub (Jul 26, 2019):
They are not, but you can use them if you prefer to.
There are no strict rules about the format of the footer.
@bcoe commented on GitHub (Jul 29, 2019):
common footers I've seen are:
For starters, I think it would be good to update the spec to reflect the spec to reflect the fact that BREAKING CHANGE can fall in the footer; It might also be worth adding a note in the FAQ about what makes a good footer.
I think this would begin to address https://github.com/conventional-commits/conventionalcommits.org/issues/170, if you want a multi-paragraph body, but don't want that to be the same as your BREAKING CHANGE, put BREAKING CHANGE in footer. We could then mention in the spec that multi paragraph commit bodies should be spaced in, not separated by two newlines.
@epage commented on GitHub (Jul 29, 2019):
Github has native support for Co-Authored-By
Linux also has a lot of footers that are probably of interest to the wider git community
The spec does already talk about BREAKING CHANGE being in the footer
@bcoe commented on GitHub (Jul 29, 2019):
@epage oh great, I wasn't sure that we had called that out (was going off memory).
Any ways, I don't think we should start legislating valid footers but I do think there's value in a note in the FAQ; "What makes a good footer", would happily take help writing this up.