我有一个使用模板的 Azure Pipeline (yaml),我试图弄清楚如何设置被克隆的实际存储库的提取深度。
resources:
repositories:
- repository: templates
type: git
name: 'DevOps/CICD'
ref: refs/heads/develop
- repository: self # sic!
fetchDepth: 1
clean: true`
Run Code Online (Sandbox Code Playgroud)
支持获取深度(vscode 扩展),但我似乎找不到任何关于它的详细文档..