From 438d9d96f43188272ddcebe650e70da2bca00ae2 Mon Sep 17 00:00:00 2001 From: Casper da Costa-Luis Date: Tue, 1 Nov 2022 00:26:17 +0000 Subject: [PATCH] ref/ci: --fetch-depth - follow-up to https://github.com/iterative/cml/pull/1246 - follow-up to https://github.com/iterative/cml/pull/1243 --- content/docs/ref/ci.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/content/docs/ref/ci.md b/content/docs/ref/ci.md index 33fe8abf..3f360126 100644 --- a/content/docs/ref/ci.md +++ b/content/docs/ref/ci.md @@ -12,8 +12,7 @@ formatting and HTTP remote proxies; and, optionally, unshallowing clone). Any [generic option](/doc/ref) in addition to: -- `--unshallow`: Fetch as much as possible, converting a shallow repository to a - complete one. +- `--fetch-depth=`: Commits to fetch (use `0` for all branches & tags). - `--user-email=
`: Git user email for commits [default: `olivaw@iterative.ai`]. - `--user-name=<...>`: Git user name for commits [default: `Olivaw[bot]`]. @@ -26,5 +25,5 @@ Instead of wrangling with simply run: ```cli -$ cml ci +$ cml ci --fetch-depth=0 ```