Anton Kovalyov
09/05/2025, 6:22 PM⯠gt submit
š„ Validating that this Graphite stack is ready to submit...
Trunk branch (main) is behind its upstream branch. Please run gt sync to update.
Failure to update could result in incorrect metadata being used to submit PRs.
ā Continue with this submit operation? ⦠yesPylon
09/05/2025, 6:22 PMgt feedback --with-debug-context <any message>Anton Kovalyov
09/05/2025, 6:23 PMAnton Kovalyov
09/05/2025, 6:23 PMPylon
09/05/2025, 6:32 PMgt submit command can be used with the --ignore-out-of-sync-trunk flag.
You're also able to use gt aliases to set the submit command to always run with that particular flag enabled.Anton Kovalyov
09/05/2025, 6:34 PMPylon
09/05/2025, 9:06 PMAnton Kovalyov
09/05/2025, 10:23 PMgt submit --debug and saw this:
2025-09-05T22:20:18.216Z: Finished getUpstreamBranch (72624): git rev-parse --abbrev-ref --symbolic-full-name main@{u}
{
"code": 128,
"signal": null,
"stdout": "",
"stderr": "fatal: no upstream configured for branch 'main'\n"
}
My main branch wasn't pointing to the upstream origin/main.Anton Kovalyov
09/05/2025, 10:23 PMgit branch --set-upstream-to=origin/main main fixed it.Nick Puljic
09/10/2025, 1:58 PMPylon
09/10/2025, 2:02 PM1.7.0 release out next week (available in beta)Nick Puljic
09/10/2025, 5:34 PMNick Puljic
09/10/2025, 5:34 PMNick Puljic
09/10/2025, 5:39 PMNick Puljic
09/11/2025, 1:43 PMPylon
09/11/2025, 2:34 PMgt feedback --with-debug-context <any message> to share logs and info about your particular gt CLI with us.Pylon
09/11/2025, 7:10 PMmain and origin/main were aligned and we did not print the warning. But after running a number of other commands the next time you ran submit main was pointing at the same commit as previously, but origin/main had moved to another commit.Nick Puljic
09/11/2025, 7:23 PMgt modify --all && gt submit --stackNick Puljic
09/12/2025, 2:07 PMPylon
09/12/2025, 2:38 PMgt freeze/unfreeze, we have docs here