|
|
|
|
|
by Eikon
1774 days ago
|
|
> The article is suggesting that while you are working you can commit as you go, quick and dirty Why would someone do that?
I’d argue that if there is cleaning to be done, it should be done way before something is ready to be merged, while context is fresh in your head. Also, cleaning before something is ready to be merged will lead to sloppy history removal as, often, people are eager to merge for a variety of reasons, and rewriting history may not be seen as a priority. |
|
I guess it's personal preference, I don't recall losing context, as I don't let too much of time passed. And I actually ensure nice commits are written before code review otherwise it might be harder for the reviewer to get the context of the changes.