From f1d367010f7ccc5c7df24aafc4539cc41c4604c5 Mon Sep 17 00:00:00 2001 From: Nick Van Doorn Date: Tue, 29 Nov 2022 23:37:36 -0800 Subject: Sort git branches by date Thnx aaron --- git.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' -- cgit v1.2.3