mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-19 17:13:42 -05:00
Fixes small bug introduced with fbr verbose improvement
@@ -235,7 +235,7 @@ fbr() {
|
|||||||
local branches branch
|
local branches branch
|
||||||
branches=$(git branch -vv) &&
|
branches=$(git branch -vv) &&
|
||||||
branch=$(echo "$branches" | fzf +m) &&
|
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)
|
# fbr - checkout git branch (including remote branches)
|
||||||
|
|||||||
Reference in New Issue
Block a user