5 ms·
I use it for switching git branches. I have this in ~/bin/git-bsel: git for-each-ref refs/heads/ --format='%(refname:short)' --sort='-authordate' | fzf +s
by jurip 5y ago
I use it for switching git branches. I have this in ~/bin/git-bsel:
git for-each-ref refs/heads/ --format='%(refname:short)' --sort='-authordate' | fzf +s --query "$*" | xargs git checkout