hey folks, for this warning below, is there a way ...
# how-do-i
m
hey folks, for this warning below, is there a way to specify a default so I don't have to respond y/n every time? many times I ran
gt submit
and context switched, only to discover that it's stuck on this step
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? … yes
p
(If applicable) To help us more clearly understand what you're trying to do, please provide additional details about: - Screenshots / debug logs / list of commands you've tried to run so far - Your workflow - Current state
hey Minqi, to avert this prompt the
gt 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.
m
lovely, thank you!