Dougal Campbell's geek ramblings

WordPress, web development, and world domination.

Blog Archives

The problem with working out of a coffee shop is that I have to sit here smelling the cinnamon rolls and freshly toasted bagels…

 

Memo to my future self: to revert a file in git to the last committed state:

git checkout myfile.php

This is basically the same as svn revert.