1
0
Fork 0
vdotfiles/cli/.config/fish/functions/greset.fish

7 lines
167 B
Fish
Raw Normal View History

2023-02-05 22:13:01 +02:00
function greset
read -P "OK to reset and clean teh repo?"\n -ln1 resp
test "$resp" != y && return 0
command git clean -fd
command git reset --hard
end