-
Notifications
You must be signed in to change notification settings - Fork 10
clone
Sébastien Andreatta edited this page Apr 27, 2026
·
2 revisions

Clone a GitHub repository locally, under the path managed by odev. A database name can be passed insteadof a repository address to find and clone the repository linked to that database.
odev clone [-v {CRITICAL,ERROR,WARNING,INFO,DEBUG,DEBUG_SQL,NOTSET}] [-h] [-f] [-p {saas,paas}] [-b BRANCH] [database] [repository]No aliases
| Argument | Description |
|---|---|
database |
The database to target. |
repository |
GitHub URL or name of a repository. |
| Argument | Description |
|---|---|
-v, --log-level |
Set logging verbosity for the execution of odev. |
-h, --help |
Show help for the current command. |
-f, --force |
Bypass confirmation prompts and assume a default value to all, use with caution! |
-p, --platform |
Force searching for the database on the specified platform, useful when different databases have the same name on different hosting (usually one local database being a copy of a remote one). One of saas or paas. |
-b, --branch |
Branch to checkout after cloning the repository. |
odev clone --helpodev clone odoo-ps/custom-utilodev clone -b master odoo-ps/custom-util