logoalt Hacker News

skydhashlast Wednesday at 12:34 AM2 repliesview on HN

You have to put a lot of effort to mess up a git repo. So I'm not seeing the allusion to hand grenades.


Replies

cornstalkslast Wednesday at 2:40 AM

I’ve done it multiple times without much effort. Or skill. Really it was a skill issue and I tried things that I thought would work but apparently don’t.

I screwed up jj a few times while picking it up, but jj’s undo command made that trivial to go back and try again. With git? I know a lot of things can be undone but I can never remember how to do it!

Balinareslast Wednesday at 12:42 PM

I'm glad to hear you never encountered the kind of quagmire that can occur around e.g. non-trivial conflicts while rebasing a chain of git commits. On large enough codebases, those can be common.