added docs info about fetch-depth: 0

This commit is contained in:
Artur
2023-03-11 15:15:37 +01:00
parent a41619580c
commit 66a4299298
2 changed files with 19 additions and 0 deletions

View File

@@ -31,6 +31,14 @@ preferLatestVersion:
## Usage examples
In order for the gitversion to properly work you need to clone the repository with the entire history:
```yaml
steps:
- checkout: self
fetchDepth: 0
```
### Example 1
Install the latest GitVersion 5 version.