Git is not SVN
Friday, January 30th, 2009Turns out that there isn’t one command to revert all local changes in git, nor are the docs very helpful in that regard. The magical alchemy you need to know is git reset –hard HEAD Don’t do the following, (which is what you’d think to do if you were familiar with SVN), because it’ll undo [...]