helper script to clean local repo

This commit is contained in:
Rick Farina (Zero_Chaos) 2024-05-10 13:31:13 -04:00
parent 2b66f526da
commit 16190ca630
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC

3
scripts/git_local_prune Normal file
View file

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