0

I have done commit. Next I made some changes to a file. Then I run the command checkout for only one file. Which looks like this:

git checkout HEAD^ filename.php

That did not help me at all. So I would like to cancel my checkout. THE QUESTION IS: Can I go back to not only last committed but also to changes made after (not committed)?

Thanks for your help! :* Love You all :)

PS: I got the answer in comments bellow. To save you time guys. The answer was NO! :(

4

0 回答 0