If you're using git to manage you files, and you have some changes to some files, and you want to throw away the changes (i.e.
revert to the previous checked in version), then you can do it with this:
git checkout path/to/myfile.ext
path/to/my/file.ext with the path/filename of the file you want to 'revert')
This is the git equivalent of svn's
svn revert path/to/myfile.ext
Previous Post: ← Using branches with git to go back in time Next Post Replace the transparency on a PNG with a white background →