git-delete-squashed
git-delete-squashed copied to clipboard
Delete branches that have been squashed and merged into main
possibly related to https://github.com/not-an-aardvark/git-delete-squashed/issues/1 When I run this tool via node on a big repo, I'm getting EAGAIN error on git rev-parse or merge-base Error is like below (branch name...
Some repos now use the name *main* instead of *master*. This project seems to assume that the primary branch is named *master*. I'd like to request that the name of...
I had to run the `npm test`/`npm run lint` script manually to catch errors. It would be good if there was a CI step to run this check on each...
For example: 1. I make a branch "develop-B" which is branched off "develop-A" 2. "develop-A" is squash-merged into main branch 3. "develop-B" is squash-merged into main branch Now the approach...

i added this git alias, per docs: ``` $ git config --global alias.delete-squashed '!f() { local targetBranch=${1:-main} && git checkout -q $targetBranch && git branch --merged | grep -v "\*"...