Open kieranpotts opened 1 year ago
The current undo alias perhaps should be called nuke, as it completely undoes all changes in the working tree since the last commit:
undo
nuke
reset --hard HEAD && git clean -fd
Other undo-like operations include:
git checkout -- .
git clean -fd
git reset --soft HEAD
git reset --hard HEAD
The current
undo
alias perhaps should be callednuke
, as it completely undoes all changes in the working tree since the last commit:Other
undo
-like operations include:git checkout -- .
git clean -fd
git reset --soft HEAD
git reset --hard HEAD