Skip to content

Try and discourage use of git push --force #5861

Description

@andygrove

What is the problem the feature request solves?

I would like to update the contributor guide and AGENTS.md to try and discourage use of git push --force and instead use --force-with-lease. This would prevent accidentally deleting commits from other maintainers in rare cases where multiple maintainers are pushing to the same PR.

Describe the potential solution

No response

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions