The output of my git branch is a terrible mess. I should be more proactive about cleaning up old branches. I won’t be.

I was recently pointed to fzf, “a command-line fuzzy finder.” The following alias in my shell config means I’ll never have to face the consequences of my untidiness.

fco='git branch | fzf | xargs git checkout'

fco demo