Skip to content

Agree on commit reverting strategy #12979

Closed
@gibfahn

Description

@gibfahn

The COLLABORATOR_GUIDE doesn't seem to cover how to revert commits, and specifically what the commit message should be. I think we should try to agree what the standard process is.

For single commits with git revert HASH:

  1. Leave the commit message as is.
  2. Modify (not least to pass node-validate-commit), e.g. fs: Revert throw on invalid callbacks #12976

For multiple commits with git revert FROM...TO:

  1. Leave as individual commits
  2. Format commit messages, e.g. Revert commits that cause failing tests on Windows CI #4679
  3. Squash the commits

Metadata

Metadata

Assignees

No one assigned

    Labels

    metaIssues and PRs related to the general management of the project.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions