diff options
author | Gibson Fahnestock <gibfahn@gmail.com> | 2017-05-13 18:12:26 +0100 |
---|---|---|
committer | Gibson Fahnestock <gibfahn@gmail.com> | 2017-05-16 10:26:43 +0100 |
commit | 92f3b301ab706d6254814b3f0a2689a32bbafb01 (patch) | |
tree | 909dc52b1a08c9025ea16cc46bf28c01bf83fdb2 /COLLABORATOR_GUIDE.md | |
parent | fefab9026b4dac57de30f81dd39b9c2f20a3ada8 (diff) | |
download | android-node-v8-92f3b301ab706d6254814b3f0a2689a32bbafb01.tar.gz android-node-v8-92f3b301ab706d6254814b3f0a2689a32bbafb01.tar.bz2 android-node-v8-92f3b301ab706d6254814b3f0a2689a32bbafb01.zip |
doc: document method for reverting commits
PR-URL: https://github.com/nodejs/node/pull/13015
Fixes: https://github.com/nodejs/node/issues/12979
Refs: https://github.com/nodejs/node/pull/4679#issuecomment-172421320
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'COLLABORATOR_GUIDE.md')
-rw-r--r-- | COLLABORATOR_GUIDE.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/COLLABORATOR_GUIDE.md b/COLLABORATOR_GUIDE.md index b5772ee1bb..157925f8df 100644 --- a/COLLABORATOR_GUIDE.md +++ b/COLLABORATOR_GUIDE.md @@ -252,6 +252,13 @@ not can often be based on many complex factors that are not easily codified. It is also possible that the breaking commit can be labeled retroactively as a semver-major change that will not be backported to Current or LTS branches. +##### Reverting commits + +Commits are reverted with `git revert <HASH>`, or `git revert <FROM>..<TO>` for +multiple commits. Commit metadata and the reason for the revert should be +appended. Commit message rules about line length and subsystem can be ignored. +A Pull Request should be raised and approved like any other change. + ### Deprecations Deprecation refers to the identification of Public APIs that should no longer |