i finally wrote an interactive git branch switcher with fzf that I like using #!...

@b0rk@jvns.ca

i finally wrote an interactive git branch switcher with fzf that I like using

#!/bin/bash

git checkout $(git branch | fzf | sed 's/^[* ] //')

(it also uses `git branch --sort=-committerdate or something so the most recent branch is first)