kieranpotts / dotfiles

A baseline, extensible UNIX user configuration.
MIT License
1 stars 0 forks source link

More variations of `git undo` #163

Open kieranpotts opened 1 year ago

kieranpotts commented 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:

reset --hard HEAD && git clean -fd

Other undo-like operations include: