Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 215be0b

Browse files
stevemaopetebacondarwin
authored andcommitted
docs(CONTRIBUTING): revert is a modifier
EG: 462f444 Closes #12032
1 parent 7c5880f commit 215be0b

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)