5
0
Fork 0
mirror of https://github.com/actions/checkout.git synced 2025-11-13 08:23:46 +00:00

Update README.md to describe fetching full history of one branch

Document how to fetch full history for a single branch.

This implies `--single-branch` but infinite depth for that branch.
This commit is contained in:
Jonathan Wakely 2025-11-12 11:48:14 +00:00 committed by GitHub
parent 71cf2267d8
commit 59f06dafa3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -125,6 +125,7 @@ Please refer to the [release page](https://github.com/actions/checkout/releases/
sparse-checkout-cone-mode: ''
# Number of commits to fetch. 0 indicates all history for all branches and tags.
# 2147483647 indicates full history for the single branch being checked out.
# Default: 1
fetch-depth: ''