Commandscc git
cc git fetch
Fetch the latest changes for the active version's Odoo repositories (odoo, enterprise, design-themes), or every configured version with --all. Repos are fetched concurrently.
The fetch is R&D-aware:
- Source checkouts (non-R&D workspaces) are never hand-edited, so cc runs
git fetch,git restore ., andgit pull -fto keep them pristine and current (fetch + pullmode). - R&D workspaces hold your uncommitted work, so cc runs
git fetchonly — it never restores or pulls there, so nothing you haven't committed is ever discarded (fetch-onlymode).
Usage
cc git fetch
cc git fetch --allFlags
| Flag | Description |
|---|---|
-a, --all | Fetch all configured versions, not just the active one |
Examples
cc git fetch
# → Fetches the active version's repos
cc git fetch --all
# → Fetches all configured Odoo versions