How to restore my code to 20 minutes back?


101
views
0
9 weeks ago by

I mistakenly did a git checkout .

Is there any revision history in wing?

Community: Wing Python IDE

1 Answer


2
9 weeks ago by
Wing doesn't keep its own revision history, other than undo history which does not survive reload when a file changes externally on disk.  However, 'git checkout' supposedly keeps local modifications to files by default so they can be committed on the new branch.  If you didn't discard changes, you could probably just switch back to the other branch with git to get back to where you were before.

That's sad to know.

Doing a "git checkout ." and then coming back to the wing and trying Undo didn't work as well.

written 9 weeks ago by Prakash Deivakani  
Please login to add an answer/comment or follow this question.

Similar posts:
Search »
  • Nothing matches yet.