docs(CONTRIBUTING): revert is a modifier

EG: https://github.com/angular/angular.js/commit/462f444b06ae5cad3ccb761b1dba7131df01a655

Closes #12032
This commit is contained in:
Steve Mao
2015-07-01 10:11:49 +10:00
committed by Peter Bacon Darwin
parent de5b8dc781
commit 8f6dac9536
+3
View File
@@ -202,6 +202,9 @@ format that includes a **type**, a **scope** and a **subject**:
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.
### Revert
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.
### Type
Must be one of the following: