In a pipeline step, I want to check out one more branch than the branch the pipeline is running on (the main branch).
I found the "clone: depth: full" option, which works.
However, that grabs all the branches in the repo, which takes additional time getting things that I don't need, especially if there's a lot of branches.
Is there a way to check out exactly one additional branch in a pipeline?