Restack dependent branches on top of the current branch using Graphite CLI and push them.
Restack all branches stacked on top of the current branch using Graphite CLI, then push them.
Use this after making changes to a base branch (e.g., merging master, fixing conflicts, adding commits) to propagate those changes up through the stack.
gt) must be availablegt log short
Confirm the current branch and identify dependent branches stacked on top.
If there are no dependent branches, stop and tell the user there is nothing to restack.
gt restack
If restack reports conflicts, resolve them:
git addgit rebase --continueFor each branch that was restacked, force-push:
git push --force-with-lease origin <branch>
Display which branches were restacked and pushed.