Unmodifying a Modified File or Revert back to the Latest Commit state

October 13th, 2011 by Regaz

If you have already have modified and saved the changes in a file to Revert it Back to the State of your Latest Commit:

git checkout -- fileToRevert
(Visited 1 times, 1 visits today)

Tags: ,