To revert a file with uncommitted changes to the current version in the repo do:
git checkout -- filename
source: http://norbauer.com/notebooks/code/notes/git-revert-reset-a-single-file
No comments:
Post a Comment