|
|
|
|
|
by WorldMaker
1774 days ago
|
|
This is basically the approach that I take. I expect git log --first-parent (and git bisect --first-parent) on the main branch to pass full CI builds, but I'm increasingly more lax about individual commits the further you get out into the DAG. I think it way more useful to record the steps-in-progress than to toss them (especially when you are trying to debug the why or the how of a change months or years later from say a junior developer; it's a lot easier sometimes to see things like "oh, this was a test value meant to be replaced" when you see exactly which intermediate commit it was from deep in a PR). (ETA: It's easy to forget that the I in CI stands for "integration" and was always focused on merges of changes more than specific changes.) |
|