# Shallow checkout sources on Windows steps: - checkout: none - script: | @echo on git init git remote add origin "$(Build.Repository.Uri)" git fetch --progress --no-tags --depth=1 origin "$(Build.SourceVersion)" git checkout "$(Build.SourceVersion)" displayName: Shallow Checkout