Revert for git

Tuesday, January 29th

Having recently switched from svn to git, I have been trying to use:

git revert path/to/file

which, of course, does not exist. Here's the git equivalent:

git checkout HEAD path/to/file

The man page is a little, um, obscure.

Be The First To Comment!