Re:Git's commit workflow is backwards, and encourages bad ha...
by archi42 on Monday March 29, 2021 @11:27AM
(#26623179)
This in combination with a `git diff` in a split shell works very well for me. For adding changes, I often use `git add -p` - this also gives a nice opportunity to think about a change again. As a bonus, if I did not yet push, I can extend the commit (using --amend) or roll back to it when doing experimental changes. There is also the option to `git stash` some work away.
[ Parent
| on HN ]
There are no comments on this comment yet.