Pushing a lot of commits to an old branch

Toon Moene toon@moene.org
Sat Jul 12 14:15:35 GMT 2025


On 7/12/25 13:31, Thomas Koenig via Gcc wrote:

> Am 12.07.25 um 13:11 schrieb Jonathan Wakely via Gcc:

>> Yes, it will probably make git unusable for a few hours, please don't
>> push all at once!
> 
> OK, I won't :-)
> 
> There might be two other possibilities that I can think of:
> One would be to squash all the commits (most of which came from
> mainline gcc) into one huge one, and then commit that.
> 
> The other one would be to simply open a new branch and abandon
> the old one.
> 
> Would either of these be preferable?

One advantage of opening a new branch is that you can give it a new 
name, like coarrays_shared (note that the flag to enable the code in the 
old branch already was renamed to -fcoarray=shared and the library to 
-lcaf_shared).

Kind regards,

-- 
Toon Moene - e-mail: toon@moene.org - phone: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands


More information about the Gcc mailing list