Fetch a branch for diff

13rett July 31, 2020

After the source checkout step, I would like to git diff the plan branch against master, but this ref doesn't exist locally on the build agent. I would like to avoid enabling the 'Fetch whole repository' setting. I have been working around this by setting up a new remote. Are there any easier ways to get the master ref onto the build agent?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events