From 59f06dafa3d2ccdc4906ab2053d8f79851f6c6ed Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Wed, 12 Nov 2025 11:48:14 +0000 Subject: [PATCH] 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. --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index b24767b..9298c8d 100644 --- a/README.md +++ b/README.md @@ -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: ''