We're seeing some situations where turbolift is used to fix up existing PRs - e.g. created by a cloud agent or by another team member.
Turbolift can 'assimilate' these PRs by targeted git checkout actions but it's clunky. Let's add support to turbolift to do it in one step. We could make this part of 'clone' but don't have to.
- We'd take a list of PRs in a text file (line-separated)
- We'd clone as normal
- We'd check out the relevant PR branch for each repo (being aware that branch names may not always be the same - something we might need to deal with)
Use of the tool would then continue as normal.
Furthermore, we should add a new command to incorporate the common usage of turbolift foreach -- git push, since that's even more common in this case.
We're seeing some situations where turbolift is used to fix up existing PRs - e.g. created by a cloud agent or by another team member.
Turbolift can 'assimilate' these PRs by targeted
git checkoutactions but it's clunky. Let's add support to turbolift to do it in one step. We could make this part of 'clone' but don't have to.Use of the tool would then continue as normal.
Furthermore, we should add a new command to incorporate the common usage of
turbolift foreach -- git push, since that's even more common in this case.