Skip to content

Commit 92f3b30

Browse files
committed
doc: document method for reverting commits
PR-URL: #13015 Fixes: #12979 Refs: #4679 (comment) Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent fefab90 commit 92f3b30

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

COLLABORATOR_GUIDE.md

+7
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,13 @@ not can often be based on many complex factors that are not easily codified. It
252252
is also possible that the breaking commit can be labeled retroactively as a
253253
semver-major change that will not be backported to Current or LTS branches.
254254

255+
##### Reverting commits
256+
257+
Commits are reverted with `git revert <HASH>`, or `git revert <FROM>..<TO>` for
258+
multiple commits. Commit metadata and the reason for the revert should be
259+
appended. Commit message rules about line length and subsystem can be ignored.
260+
A Pull Request should be raised and approved like any other change.
261+
255262
### Deprecations
256263

257264
Deprecation refers to the identification of Public APIs that should no longer

0 commit comments

Comments
 (0)