Prevent attempts to remove branches if there aren't any
This commit is contained in:
parent
4c136f40a1
commit
854cc5b635
|
@ -20,7 +20,7 @@
|
||||||
lg = !"git lg1"
|
lg = !"git lg1"
|
||||||
lgd = log -p --decorate
|
lgd = log -p --decorate
|
||||||
history = log --pretty=oneline --abbrev-commit --all --graph --decorate
|
history = log --pretty=oneline --abbrev-commit --all --graph --decorate
|
||||||
tidy = !git remote prune origin && git fetch -p && git branch -vv | awk '/: gone]/ {print $1}' | xargs git branch -D
|
tidy = !git remote prune origin && git fetch -p && git branch -vv | awk '/: gone]/ {print $1}' | xargs -r git branch -D
|
||||||
update = !git pull && git tidy
|
update = !git pull && git tidy
|
||||||
st = status
|
st = status
|
||||||
ci = commit
|
ci = commit
|
||||||
|
|
Loading…
Reference in a new issue