davidraviv / gh-clean-branches

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

add force flag #13

Closed rizowski closed 3 years ago

rizowski commented 3 years ago

Related issue:

closes #12

Why did you make this change

To allow the user to be able to force delete branches if there is no way to verify the upstream has the changes from a local branch.

What have you done in this PR

Added a --force flag which allows users to be able to acknowledge they want to delete the branches regardless of the repercussions.

What was left to do

nothing

Dependencies

none

Checklist: