summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Van Doorn <nick@nv.delivery>2022-11-29 23:37:36 -0800
committerNick Van Doorn <nick@nv.delivery>2022-11-29 23:37:36 -0800
commitf1d367010f7ccc5c7df24aafc4539cc41c4604c5 (patch)
treebc9d3f25482fb33d0f3c251dd0852b036917330b
parent9b087e5ed30776b5d1cb27821088ec6c64c60ec4 (diff)
Sort git branches by date
Thnx aaron
-rw-r--r--git.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git.zsh b/git.zsh
index 50e1695..981219e 100644
--- a/git.zsh
+++ b/git.zsh
@@ -24,7 +24,7 @@ alias poppy='stash pop'
alias gcat='gc --amend'
alias ok='grb --continue'
alias live='gpo $(active_branch) --force-with-lease'
-alias gsch='gch $(g branch | fzy)'
+alias gsch='gch $(g branch --sort=-committerdate | fzy)'
alias changelist='git diff-tree --no-commit-id --name-only -r'
alias glog='v -c "Gclog -100"'
alias scrubby='g clean -fd'