Re:Why is it so hard to see code from 5 minutes ago?
by fingerlocks on Thursday February 18, 2021 @11:17PM
(#26189652)
Yeah, sure it happens. Then I type “git diff”. But never have I unraveled the entire undo buffer stack only to peek at it and re-push the entire contents. That’s super weird to me.
[ Parent
| on HN ]
Re:Why is it so hard to see code from 5 minutes ago?
by wingerlang on Friday February 19, 2021 @01:10AM
(#26190271)
What’s weird about it? For some - to do git diff might take more keystrokes than hitting undo 5 times.
I do all of these. I’d use undo/redo when I want to look at something I /just/ did, meaning while in the process of writing something. The git gutter when I stumble upon some change I want to see what was there before. Or Sourcetree for a full diff.