BartlomiejSkwira
6/10/2013 - 8:19 AM

Revert single file to a previous commit

Revert single file to a previous commit

#to specific commit
git checkout [commit-ref] -- [filename]

#if you know how many commits
git checkout master~5 image.png