This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
while getopts "d" opt; do | |
case $opt in | |
d) dryRunOpt="--dry-run";; | |
esac | |
done | |
# prune local "cache" of remote branches first: | |
git fetch --prune origin | |
# delete merged to master branches: |