Add git trim helper command
This commit is contained in:
@ -18,6 +18,8 @@
|
|||||||
sd = diff --name-status
|
sd = diff --name-status
|
||||||
last = cat-file commit HEAD
|
last = cat-file commit HEAD
|
||||||
|
|
||||||
|
trim = "!f() { git fetch --all --prune; git branch -vv | awk '/: gone]/{print $1}' | xargs git branch -D; }; f"
|
||||||
|
|
||||||
[color "branch"]
|
[color "branch"]
|
||||||
current = bold blue
|
current = bold blue
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user