davidraviv / gh-clean-branches

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

make script default branch agnostic #5

Closed cottand closed 3 years ago

cottand commented 3 years ago

main as a branch name was hardcoded in the script, which stopped me from using this in my workplace, where we use master

pbeeson commented 3 years ago

I was just about to make this PR :) Thanks @Cottand