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

3 lines
142 B
Fish

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