Reputation: 25
I just made a git pull from the Master branch.
However, I lost all my local changes and files. I did NOT commit my changes. It's been a long time since I did a commit.
Is there a way to undo the most recent git pull i did WHILE NOT losing my local files (that are now gone)?
Upvotes: 0
Views: 40
Reputation: 5397
No, if you did not commit your files before doing so there is no way to get them back, as git was not told to track their changes.
Upvotes: 1