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:

  • --unshallow: Fetch as much as possible, converting a shallow repository to a complete one.
  • --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
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