This file contains hidden or 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 | |
| SCRIPT_NAME="git-clean-branches.sh" | |
| help_message() { | |
| echo "Usage: $SCRIPT_NAME [ -i | -m | -f]" | |
| echo " -i: interactive mode, the safest option: will prompt before deleting branches" | |
| echo " -m: prune and delete merged branches" | |
| echo " -f: prune and force delete branches" | |
| } |