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
@@ -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/.* //")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user