~Would be nice to have a cli subcommand to push al...
# ideas
j
Would be nice to have a cli subcommand to push all prs/stacks after a
gt sync
restacked them all ... having to iterate and push one at a time is no fun
nevermind, thanks @Vampire for the lesson!
v
You mean like ...
gt ss
? :-)
❤️ 1
j
Yes but for all stacks ... that just does for the currently checked-out branch and its ancestors
v
Go to the trunk branch first, then you hit all
gt co -t && gt ss
j
Oh wow thanks, that's sort of the opposite of what I thought
gt ss
did!
v
gt ss
is short for
gt submit --stack
and that says
Submit descendants of the current branch in addition to its ancestors.
Without
--stack
it pushes all ancestors
Idempotently force push all branches from trunk to the current branch to GitHub
Iirc you cannot only submit the current branch without its ancestors as it stacks upon the ancestors so not pushing them would be kind of against the general idea 😄