I switched to a new machine so is there a way to p...
# how-do-i
s
I switched to a new machine so is there a way to pull all my existing remote stacks to my new machine?
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
s
ended up doing the following along with github cli:
Copy code
gh pr list --author "@me" --json "headRefName" --jq ".[].headRefName" | xargs -I'{}' sh -c 'gt get {} || exit 255' \;
p
Hey Sangeeth, there isnt a way to handle this today other than using
gt get [branch]
 from the top of each stack you wanted.
🥲 1
s
here's a feature request then, lmk if I should post this somewhere or upvote
👍 1
can also consider documenting the command I wrote or equivalent if not already there in the docs