-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
2 changed files
with
27 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Command Reference: `ci` | ||
|
||
```bash | ||
cml ci [options] | ||
``` | ||
|
||
Prepares Git repository for CML operations (setting Git `user.name` & | ||
`user.email`, unshallow clone and undo CI oddities such as origin URL formatting | ||
and HTTP remote proxies). | ||
|
||
## Options | ||
|
||
Any [generic option](/doc/ref). | ||
|
||
## Examples | ||
|
||
Instead of wrangling with | ||
[unshallowing clones](https://stackoverflow.com/q/6802145) and | ||
`git config user.email` before being able to `git commit` or use | ||
[`cml pr`](/doc/ref/pr), simply run: | ||
|
||
```bash | ||
cml ci | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters