git hew-dry-run

Delete all branches that have been merged into a commit (dry run)

Git alias:

hew = !git hew-local-dry-run "$@" && git hew-remote-dry-run "$@";

Syntax:

hew-dry-run [<commit>]

Example with default branch name:

git hew-dry-run

Example with specific branch name:

git hew-dry-run main

Example with specific commit hash:

git hew-dry-run 4677ad893ee038b113e22f6330da6ae710712f88

Compare these: