logoalt Hacker News

rasguanabanayesterday at 3:53 PM2 repliesview on HN

> So anything that would be destructive in git (e.g. rebase, pull, squash, etc) can be undone.

It’s possible to recover from these with git reflog, though.


Replies

BeetleByesterday at 5:58 PM

I've used git for years, and used reflog once or twice.

I've used jj for only a year, and have used "jj undo" countless times.

There's a huge benefit to having a simpler mental model.

ersatz-mattyyesterday at 4:04 PM

`jj undo` compared to what exactly?