I\'ve previously been able to undo changes through SourceTree by performing the \"Discard\" function, which under the hood produces this command:
git -c diff.mne
What you want is
git reset HEAD --hard
.
git reset HEAD
only un stages changes.
I suggest you also take a look at how git can be set to auto convert/deconvert line endings because on projects with multiple developers working on different platforms this will cause anger when a single edit on a file causes git blame to show you as having changed the whole file.