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

Commit 9b1de0b

Browse files
committed
docs(CONTRIBUTING): revert is a modifier
EG: 462f444
1 parent 41385f0 commit 9b1de0b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

CONTRIBUTING.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ Each commit message consists of a **header**, a **body** and a **footer**. The
192192
format that includes a **type**, a **scope** and a **subject**:
193193

194194
```
195-
<type>(<scope>): <subject>
195+
(revert: )<type>(<scope>): <subject>
196196
<BLANK LINE>
197197
<body>
198198
<BLANK LINE>
@@ -202,6 +202,10 @@ format that includes a **type**, a **scope** and a **subject**:
202202
Any line of the commit message cannot be longer 100 characters! This allows the message to be easier
203203
to read on github as well as in various git tools.
204204

205+
### Revert
206+
207+
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>.`
208+
205209
### Type
206210
Must be one of the following:
207211

0 commit comments

Comments
 (0)