mirror of
https://github.com/actions/checkout.git
synced 2025-11-20 15:18:36 +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:
parent
71cf2267d8
commit
59f06dafa3
@ -125,6 +125,7 @@ Please refer to the [release page](https://github.com/actions/checkout/releases/
|
|||||||
sparse-checkout-cone-mode: ''
|
sparse-checkout-cone-mode: ''
|
||||||
|
|
||||||
# Number of commits to fetch. 0 indicates all history for all branches and tags.
|
# 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
|
# Default: 1
|
||||||
fetch-depth: ''
|
fetch-depth: ''
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user