Sep 21, 2017

How to revert a file in Git

git checkout HEAD~2 -- myFile