Re:Fzf – the basics part 1 – layout
by graton on Friday February 05, 2021 @01:35AM
(#26033720)
My favorite ~/.gitconfig [alias] that uses fzf:
Then just do:
[ Parent
| on HN ]
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.
Re:Fzf – the basics part 1 – layout
by dansomething on Friday February 05, 2021 @09:47AM
(#26036817)
Here's some additional FZF Git love posted by junegunn a while back.
https://junegunn.kr/2016/07/fzf-git/
love this, shows how simple fzf is to use as well. just gives us a nice way to pick out a line from git log. Beautiful.