2 ms·
Same! I use it for switching between branches: sw = !git checkout $(git branch -a --format '%(refname:short)' | sed 's~origin/~~' | sort | uniq | fzf) Jus
by skrebbel 6y ago
Same! I use it for switching between branches:
sw = !git checkout $(git branch -a --format '%(refname:short)' | sed 's~origin/~~' | sort | uniq | fzf)
Just type `git sw` and fzfuzzy type the branch name you want to go to.