m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-18 08:13:40 -05:00

I found super useful to see what the latest commit for a branch is, because it helps me better identify it, that's what -vv does. Hope it helps

Paulo Bu
2015-10-16 10:25:24 +02:00
parent 7d73b40323
commit 9a15d204a7

@@ -233,7 +233,7 @@ fkill() {
# fbr - checkout git branch
fbr() {
local branches branch
branches=$(git branch) &&
branches=$(git branch -vv) &&
branch=$(echo "$branches" | fzf +m) &&
git checkout $(echo "$branch" | sed "s/.* //")
}