git: delete aliase

This commit is contained in:
Michael Grote 2021-10-20 20:09:46 +02:00
parent 3081ca75d7
commit cd56234c22

View file

@ -13,6 +13,16 @@
remote = remote -v remote = remote -v
stagep = stage -p stagep = stage -p
last = log -1 HEAD --stat last = log -1 HEAD --stat
# Delete all local branches but master and the current one, only if they are fully merged with master.
dbra = "!f(){\
git branch | grep -v "master" | grep -v ^* | xargs git branch -d;\
}; f"
# Delete all local branches but master and the current one.
dbraf = "!f(){\
git branch | grep -v "master" | grep -v ^* | xargs git branch -D;\
}; f"
[core] [core]
editor = vim editor = vim
[help] [help]