Help with new GCC git workflow...

Eric S. Raymond
Wed Jan 15 11:51:00 GMT 2020

Richard Biener <>:
> > I like to write really fine-grained commits when I'm developing, then
> > squash before pushing so the public repo commits always go from "tests
> > pass" to "test pass".  That way you can do clean bisections on the
> > public history.
> The question is wheter one could achieve this with branches?  That is,
> have master contain a merge commit from a branch that contains the
> fine-grained commits?  Because for forensics those can be sometimes
> useful.

Of course you can do this.

Git gives you a number of different possbilities here. You get to chose
based onm how you like your histiry to look.

Discussion of my choice is here:
		<a href="">Eric S. Raymond</a>

More information about the Gcc mailing list