News for hackers. Stuff that matters.
Re:Show HN: Gut – An easy-to-use CLI for Git by dahart on Thursday March 30, 2023 @10:21AM (#35373104)
Revert is normally extremely safe, I’m curious why it’s ‘monumentally’ stressful?

The best thing to learn about git is what the safety nets are, what commands do destructive edits, vs what commands do things you can undo. Once you know how to recover from all the non-destructive commands, you never have to stress about them again!

The reflog is weird and confusing at first, but once you know it’s here and a little about how to use it, all of a sudden you realize it’s pretty hard to lose things, as long as you commit them.

There are no comments on this comment yet.