Turn off git auto gc for sparse-checkout (#4713)
Co-authored-by: James Suplizio <jasupliz@microsoft.com>
This commit is contained in:
parent
0b59e5a94c
commit
fac8d4e309
@ -46,6 +46,10 @@ steps:
|
||||
git clone --no-checkout --filter=tree:0 https://github.com/$($repository.Name) .
|
||||
}
|
||||
|
||||
# Turn off git GC for sparse checkout. Note: The devops checkout task does this by default
|
||||
Write-Host "git config gc.auto 0"
|
||||
git config gc.auto 0
|
||||
|
||||
Write-Host "git sparse-checkout init"
|
||||
git sparse-checkout init
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user