dotfiles/fish/.config/fish/functions/ffco.fish

4 lines
144 B
Fish

function ffco --description 'Git checkout a file using fzf'
git checkout $argv -- (git ls-files --modified --exclude-standard | fzf -m)
end