Re:When to make a Git Commit
by WorldMaker on Friday January 13, 2017 @02:54PM
(#13394151)
Or don't rebase and teach people to use tools like `--first-parent` and learn to love the DAG. Git log doesn't have to be a perfectionist's straight line.
Instead, commit to your local private repo whenever you want. Whatever spurious commit you want to make, just do it without thinking. (E.g. "WIP stopping temporarily to go get a soda"). Then use rebase if you want to clean things up.
EDIT ADD: reading the essay again, the author may be restricting his advice to commits on public master. If so, the blog's title should make that distinction prominent because that drastically changes what the "when" in "when to commit" means.