by iterative.ai
Get started
Edit on GitHub

Command Reference: ci

cml ci [options]

Prepares Git repository for CML operations (setting Git user.name & user.email; fetching all branch tips; undoing CI oddities such as origin URL formatting and HTTP remote proxies; and, optionally, unshallowing clone).

Options

Any generic option in addition to:

  • --fetch-depth=<number>: Commits to fetch (use 0 for all branches & tags).
  • --user-email=<address>: Git user email for commits [default: olivaw@iterative.ai].
  • --user-name=<...>: Git user name for commits [default: Olivaw[bot]].

Examples

Instead of wrangling with unshallowing clones and git config user.email before being able to git commit or use cml pr, simply run:

$ cml ci --fetch-depth=0
Content

๐Ÿ› Found an issue? Let us know! Or fix it:

Edit on GitHub

โ“ Have a question? Join our chat, we will help you:

Discord Chat