Skip to content

Commit d556eee

Browse files
scbeddazure-sdk
authored andcommitted
I need to fetch the branch a simple checkout only gets all tags
1 parent 2a576cb commit d556eee

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

eng/common/pipelines/templates/archetype-typespec-emitter.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,7 @@ extends:
406406
- Azure
407407

408408
- pwsh: |
409+
git fetch origin $(branchName)
409410
git switch $(branchName)
410411
displayName: 'Checkout PR branch $(branchName)'
411412

0 commit comments

Comments
 (0)