4 ms·
I don’t rebase and I don’t have these sorts of commits. I do use commit —amend when I see a typo in code I just checked in, though, and git stash if I need to s
by jdlshore 7y ago
I don’t rebase and I don’t have these sorts of commits. I do use commit —amend when I see a typo in code I just checked in, though, and git stash if I need to set my current task aside for a moment to fix or prepare something else.
- mcv 7y agoVery rarely, I undo and redo a commit to fix a problem with it, in cases that are too complex for --amend. But once history has been shared (pushed, generally), it really shouldn't be touched anymore.