mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
helper script to clean local repo
This commit is contained in:
parent
2b66f526da
commit
16190ca630
1 changed files with 3 additions and 0 deletions
3
scripts/git_local_prune
Normal file
3
scripts/git_local_prune
Normal 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
|
||||||
Loading…
Reference in a new issue