dotfiles/fish/.config/fish/functions/ffr.fish

4 lines
141 B
Fish
Raw Normal View History

function ffr --description 'Git restore a file using fzf'
2022-04-12 14:11:50 +02:00
git restore $argv -- (git ls-files --modified --exclude-standard | fzf -m)
end