mirror of
https://github.com/tedkulp/dotfiles
synced 2026-03-05 13:40:18 -05:00
feat: shorter git aliases
This commit is contained in:
@@ -34,6 +34,9 @@
|
||||
|
||||
[alias]
|
||||
mdr = merge --no-commit --no-ff
|
||||
dlb = "dead-local-branches"
|
||||
ddlb = "delete-dead-local-branches"
|
||||
fdlb = "force-delete-dead-local-branches"
|
||||
dead-local-branches = "!git branch -vv | grep ': gone]'| grep -v '\\*' | awk '{ print $1; }'"
|
||||
delete-dead-local-branches = "!git branch -vv | grep ': gone]'| grep -v '\\*' | awk '{ print $1; }' | xargs -r git branch -d"
|
||||
force-delete-dead-local-branches = "!git branch -vv | grep ': gone]'| grep -v '\\*' | awk '{ print $1; }' | xargs -r git branch -D"
|
||||
|
||||
Reference in New Issue
Block a user