Using Git
Revision as of 06:34, 27 September 2013 by Unhammer (talk | contribs) (→Merge conflict: Throw away local changes)
Removing/undoing your changes to a file
git checkout -- <path>
If "path" is ".", you undo all your changes to version controlled files.
Merge conflict: Throw away local changes
git checkout master <path> git commit git merge master
(The last command should now do nothing, just say you're fully merged.)