I use a Git server to control my code versions and updates. I've made a lot of changes to some files and did not commit anything. But I wanna clear all modifications made to a single file cause it didn't work as I expected. Example:
Files modificated:
Person.java
Document.java
Address.java
Phone.java
I want to "rollback" modifications made to:
Address.java
There is any way to do it without copying everything from HEAD revision to my current file?
I'm using Git Bash and Eclipse.
Thanks!