I can set up the forge bot user to do a regular sync using the same infra used for the PRs. Just give the go ahead.
From: Mark Wielaard <[email protected]> Date: Wednesday, 20 August 2025 at 01:38 To: Andrew Pinski <[email protected]> Cc: [email protected] <[email protected]>, [email protected] <[email protected]> Subject: Re: Messed up trunk branch on gcc-test on forge Hi, On Tue, Aug 19, 2025 at 04:42:33PM -0700, Andrew Pinski wrote: > Hi all, > I accidentally messed up the trunk branch on gcc-test repo on the forge. > I clicked merge+fastforward button on a pull request thinking it was just a > rebase for the pull request. > Since it is just the test repo, I am not too worried at this stage. > Is there a way to "revert" that pull request? Yes, you can git reset --hard HEAD^^ and then git push --force. (Which I just did.) We really should setup protected branches, so people cannot do that :) https://forge.sourceware.org/gcc/gcc-TEST/settings/branches (You probably need to be an "Owner" to create protected branches) Cheers, Mark
