Some CLI feedback: is it possible to do `gt sync` ...
# how-do-i
z
Some CLI feedback: is it possible to do
gt sync
only for the current branch or only for the current stack? I often want to update my local branch to reflect the recent version of
main
but
gt sync
goes through all other open stacks and gives warnings about many of them. This is incredibly noisy and slow for something that, in my prior
git
workflow, I would do dozens of times per day and very quickly. I propose options like
gt sync --branch-only
and
gt sync --stack-only
that touch nothing locally except the branch you're on or the stack you're on.
Note: this reminds me of the famously unpopular default UX of `brew install`/`brew upgrade` which updates every package before installing or upgrading the requested one.
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 Zach
gt get
should do what youre asking for. Docs ref here
z
ah great thank you!