So for a long time I did my mozilla development using Mercurial (hg) and patch queues (mq). I've recently switched to using git instead. My mercurial workflow was a bit odd, but it had the advantage that I never lost my work and had to rewrite it. Never.
3
2
6
'git reflog' may be helpful. I've never lost work because of that command.
1
4
Git commits are immutable, git never actually forgets about a commit, so there's always a way to recover them (barring running the garbage collector).
1
Replying to @agi_novanta @snorp
Though it feels like needing to use commands that aren't in git help (without -a) to not lose work is a serious UX failure.

Aug 4, 2019 · 2:18 AM UTC

1
1