Merge pull request #1105 from derekdreery/contributing_fix

docs(CONTRIBUTING): Fix markdown
This commit is contained in:
Sean McArthur
2017-03-28 08:20:45 -07:00
committed by GitHub

View File

@@ -20,13 +20,13 @@ we use the git commit messages to **generate the change log**.
Each commit message consists of a **header**, a **body** and a **footer**. The header has a special Each commit message consists of a **header**, a **body** and a **footer**. The header has a special
format that includes a **type**, a **scope** and a **subject**: format that includes a **type**, a **scope** and a **subject**:
`` ```
<type>(<scope>): <subject> <type>(<scope>): <subject>
<BLANK LINE> <BLANK LINE>
<body> <body>
<BLANK LINE> <BLANK LINE>
<footer> <footer>
`` ```
Any line of the commit message cannot be longer 100 characters! This allows the message to be easier Any line of the commit message cannot be longer 100 characters! This allows the message to be easier
to read on github as well as in various git tools. to read on github as well as in various git tools.
@@ -64,11 +64,13 @@ The subject contains succinct description of the change:
* don't capitalize first letter * don't capitalize first letter
* no dot (.) at the end * no dot (.) at the end
###Body ### Body
Just as in the **subject**, use the imperative, present tense: "change" not "changed" nor "changes" Just as in the **subject**, use the imperative, present tense: "change" not "changed" nor "changes"
The body should include the motivation for the change and contrast this with previous behavior. The body should include the motivation for the change and contrast this with previous behavior.
###Footer ### Footer
The footer should contain any information about **Breaking Changes** and is also the place to The footer should contain any information about **Breaking Changes** and is also the place to
reference GitHub issues that this commit **Closes**. reference GitHub issues that this commit **Closes**.