Skip to content

Commit ddc835e

Browse files
stevemaopetebacondarwin
authored andcommitted
docs(CONTRIBUTING): revert is a modifier
EG: angular@a582e70 Closes angular#12032
1 parent 6736bea commit ddc835e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CONTRIBUTING.md

+3
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,9 @@ The **header** is mandatory and the **scope** of the header is optional.
204204
Any line of the commit message cannot be longer 100 characters! This allows the message to be easier
205205
to read on github as well as in various git tools.
206206

207+
### Revert
208+
If the commit reverts a previous commit, it should begin with `revert: `, followed by the header of the reverted commit. In the body it should say: `This reverts commit <hash>.`, where the hash is the SHA of the commit being reverted.
209+
207210
### Type
208211
Must be one of the following:
209212

0 commit comments

Comments
 (0)