mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
docs(delete-merged): -r reminder
This commit is contained in:
parent
162aae03b1
commit
e43fe87d12
|
|
@ -5,6 +5,7 @@ branches=$(git branch --no-color --merged |
|
|||
grep -v "$(git_extra_default_branch)" |
|
||||
grep -v svn \
|
||||
)
|
||||
# REFACTOR: use `xargs -r` when widely available
|
||||
if [ -n "$branches" ]
|
||||
then
|
||||
echo "$branches" | xargs git branch -d
|
||||
|
|
|
|||
Loading…
Reference in a new issue