Reputation: 45
IS there any option to get file(not yet committed) changes history for working copy in git?
Because I've lost my local changes in one file in linux OS. Is there way to get by lost change again ? I've edited that file with vi command.
Upvotes: 0
Views: 120
Reputation: 10947
If changes have not been committed (i.e., through git commit) or added to the index (e.g., through git add), then git cannot know anything about the changes you have made, and they are unfortunately lost.
Upvotes: 1