How to give up unstaged changes

Viewed 17633

I made some changes on my local machine and I don't want to keep them.

When I perform a pull to get the recent changes from the server I get a message saying that I have unstaged changes and I must commit or stash them.

But I don't want to do it. I want to cancel them. How to do this?

2 Answers
Related