Ask Your Question

How to restore my code to 20 minutes back?

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

Prakash Deivakani's avatar

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

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

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted

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

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


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's avatar Prakash Deivakani  ( 2018-05-11 12:50:00 -0600 )edit

answered 2021-01-04 14:56:05 -0600

smeet's avatar

We are now in 2021, has this changed?

One of the most helpful features I found in PyCharm was File History, which allows you to diff between all the changes you have made recently. Incredible help when git/perforce aren't helpful.

Is there a feature like this in Wing? If not, I'd like to loudly request it...

edit flag offensive delete link more


Wing has the ability to display diffs between what is in memory and on disk. We may add more history features, but it's not something we're currently working on.

Wingware Support's avatar Wingware Support  ( 2021-01-05 08:32:13 -0600 )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



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

Seen: 1,547 times

Last updated: May 11 '18