4 lines
160 B
Fish
4 lines
160 B
Fish
|
function fco --description 'Checkout a branch using fzf'
|
||
|
git branch --all | grep -v HEAD | string trim | fzf | read -l result; and git checkout "$result"
|
||
|
end
|