How to restore my code to 20 minutes back?
I mistakenly did a git checkout . Is there any revision history in wing?
I mistakenly did a git checkout . Is there any revision history in wing?
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.
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...
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.
To enter a block of code:
Comments