One man's `git reset --hard` is another man's `svn revert -R .`.
miniblog.
Related Posts
Magic login links are underrated. They're a great way of logging in to little-used services, and faster than the password reset process.
Implementing scope in an interpreter using shift/reset for delimited continuations: https://blog.moertel.com/posts/2005-09-13-scope-herding-with-delimited-continuations.html
It's arguably overkill for the problem, but it's a well-argued introduction to shift and reset.
Emacs tip: revert-buffer will reset a buffer as if you've just opened it. Handy if you've just chmod'd a shell script: switches to sh-mode.