mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-18 08:13:40 -05:00
Fixes small bug introduced with fbr verbose improvement
@@ -235,7 +235,7 @@ fbr() {
|
||||
local branches branch
|
||||
branches=$(git branch -vv) &&
|
||||
branch=$(echo "$branches" | fzf +m) &&
|
||||
git checkout $(echo "$branch" | sed "s/.* //")
|
||||
git checkout $(echo "$branch" | awk '{print $1}' | sed "s/.* //")
|
||||
}
|
||||
|
||||
# fbr - checkout git branch (including remote branches)
|
||||
|
||||
Reference in New Issue
Block a user