I made change to my files but haven't commit. I accidentally ran a git checkout .
which undo all the changes I made.
Is there a way that I can bring back my change?
I made change to my files but haven't commit. I accidentally ran a git checkout .
which undo all the changes I made.
Is there a way that I can bring back my change?
There is no way to undo that in git.
However if you have the file open in your editor you can undo the changes there. Some editors like Emacs auto save files, so try looking for files with the same file name and a ~ or # extensions.