davidraviv / gh-clean-branches

Safely deletes local branches with no upstream and no un-pushed commits
MIT License
177 stars 15 forks source link

handle squash/rebase merges without --force #20

Open casperdcl opened 1 year ago

casperdcl commented 1 year ago

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

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

davidraviv commented 1 year ago

Thanks for the suggestion! I'll have a look at it. Meanwhile, if you feel like contributing a PR it would be great :)