Skip to content

handle squash/rebase merges without --force #20

Description

@casperdcl

If you always squash-merge, the unsafe --force flag is always required.

Instead, ideally gh-clean-branches should do one of:

  • GH API query to get the commit hash just before it was merged (check that it's identical to or ahead of the local branch)
  • try to merge main into the local branch (and check that the diff is empty)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions