git tip: fast way to revert to last commit

when you just pulled from remote, and realized it didn't work, you can quickly revert.

# revert before last commit
git checkout HEAD@{1}

Popular posts from this blog

Browser User Agent Strings 2012

11 Years of Writing About Emacs

does md5 creates more randomness?