git: del branches entfernt

This commit is contained in:
Michael Grote 2021-11-09 10:02:02 +01:00
parent 9109d5faa0
commit 9b476a3129

View file

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