Hacker News new | ask | show | jobs
by coldtea 841 days ago
>You might not be in a position to commit

So? That's what amend and/or squash is for. So that you don't need to be in some "perfect" condition to commit. Or you can do a soft git reset as you say.

But sure, even git stash would make more sense than worktrees for the TFA scenario I quoted.