pentoo-overlay/scripts/git_local_prune
2024-05-13 09:01:47 -04:00

3 lines
147 B
Bash
Executable file

#!/bin/sh
# This script automatically deletes any local branches which have been merged
git branch --merged | grep -v master | xargs git branch -d