From 8f6dac9536a37f13997f55f5e8ceeb51c4bd7d7c Mon Sep 17 00:00:00 2001 From: Steve Mao Date: Wed, 1 Jul 2015 10:11:49 +1000 Subject: [PATCH] docs(CONTRIBUTING): revert is a modifier EG: https://github.com/angular/angular.js/commit/462f444b06ae5cad3ccb761b1dba7131df01a655 Closes #12032 --- CONTRIBUTING.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8c130104a..5693b7015 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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 .`, where the hash is the SHA of the commit being reverted. + ### Type Must be one of the following: