Ask Your Question
0

How to restore my code to 20 minutes back?

asked 2018-05-11 11:21:00 -0500

updated 2019-03-13 10:31:02 -0500

I mistakenly did a git checkout . Is there any revision history in wing?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2018-05-11 12:06:00 -0500

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.

edit flag offensive delete link more

Comments

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

Prakash Deivakani gravatar imagePrakash Deivakani ( 2018-05-11 12:50:00 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2018-05-11 11:21:00 -0500

Seen: 27 times

Last updated: May 11 '18