In my project I made some changes that nothing works now. I cannot find what I changed. However, I use git. I started do it just recently. I want get previous revision of a file without changing current directory. How can I do it?
Edit: I want reverse file to a particular revsion
To see which files got changed:
To undo changes to a particular file:
If you want to toss out all changes since the last commit: