Lets say I did a check out, edited some stuff and realized I want to re-download the repository code and overwrite my local changes without commiting them.
I downloaded
revert.
It should appear in the menu when you right click on the file you changed. That should lose your changes.