4 lines
143 B
Fish
4 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
|