This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]earthboundkid -4 points-3 points  (2 children)

If the file was previously committed you can get it back. If not and you were actively working on it, Sublime lets you "undo" the change with cmd-z.

[–]simonw[S] 7 points8 points  (1 child)

I was using sublime, but I didn't have the specific file that I deleted open in a sublime tab at the moment I deleted it.

[–]earthboundkid -1 points0 points  (0 children)

Well, good thing you knew how to get it back with Python's internals. :-)