Git
Git settings
These settings can be used in order to customize how the repository is cloned with Git.
See also
Keys
strategy
— Strategy to use for fetching commits (type: enum (string), known values:clone
,tarball
)depth
— Number of commmits to fetch, or false to clone all commits (type: number, or boolean)quiet
— Silence git clone log output (type: boolean)submodules
— Avoid cloning submodules if given false (type: boolean)submodules_depth
— Number of commits to fetch for submodules (type: number)lfs_skip_smudge
— Skip fetching the git-lfs files during the initial git clone (type: boolean)sparse_checkout
— Populate the working directory sparsely (type: string)autocrlf
— Specify handling of line endings when cloning repository (type: enum (boolean), or enum (string), known values:input
)
Examples
git:
strategy: clone
depth: 1
quiet: true
git:
depth: true