3 lines
143 B
Fish
3 lines
143 B
Fish
function ffrs --description 'Git restore a staged file using fzf'
|
|
git restore --staged $argv -- (git diff --name-only --staged | fzf -m)
|
|
end
|