Hacker News new | ask | show | jobs
by jamesgeck0 2264 days ago
That's the way to go!

[alias] rb = for-each-ref --sort=-committerdate --format='%(refname:short)' refs/heads/ --count=10

To switch branches, I invoke this from a shell script and type a couple characters from a branch name

git checkout (git rb|fzf)