Skip to content

Protect against rewriting pushed commits #1

@rixx

Description

@rixx

For 95% of cases, checking that a commit is not part of origin/<branch> (or maybe any <remote>/<branch>) is a good idea. Worth adding a flag to opt out of the protection, of course.

(Very tempting to also add a special specifier for unpushed commits for faster rewriting, but that's probably on the too lazy/too ambiguous side.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions