is there a way to restack a PR/stack from the UI? ...
# how-do-i
e
is there a way to restack a PR/stack from the UI? or do I have to ask an agent or do it locally?
c
if Graphite marks the stack out of date, you should get Update stack (or Restack) on the PR page; you don’t need an agent. If you’re conflicted or don’t see that, do it locally with
gt restack
then submit: *https://graphite.com/docs/restack-branches*
e
Maybe I’m just missing it on the PR page 😅 Where do I find it?
c
On the PR page, check the merge box (right side) for Update stack, or the ⋯ menu for Restack. If you don’t see either, fall back to local
gt restack
then submit: *https://graphite.com/docs/restack-branches* Can you send me a screenshot of what you see?
e
I don’t see the button to restack and never have. Why might that be? We can ofc restack locally, but it would be a lot more convenient many times to have a button
c
There’s no account setting for an always-on Restack button. A UI update can show when Graphite marks a stacked PR out of date (look for Update stack in the merge box). Otherwise local
gt restack
then submit is the path that always works: *https://graphite.com/docs/restack-branches*. Got a PR link where the stack is currently out of date? I can check what that page is showing.
e
liveflow-io/accounting/6700
3w old, no conflicts and no button to Restack in the UI. I have literally never seen such a button after 1000s of PRs. I know we can restack locally, but that isn’t the point. If there is some setting we need to change, I would be more than happy to make the change, but I don’t know what to do
c
I see the issue here, we are rolling this out org by org and your org has not been flagged yet. Let me talk this over with the team and see if we can't fast-track the process. No promises or ETA but give me 24 hours to see what I can do. Thanks!
e
that’s great, thank you!
c
Hey Evan! Still waiting for thumbs up, as soon as I get it I will check back in. Thanks!
e
ok, thanks for the update
c
Hey There! I have flipped the flag, give it a few hours to appear and then you should see the button appear. Thanks!
e
exciting! thank you, Chris (and team)!
🙌 1
c
Let me know if anything else pops up!
🙏 1