# cc fetch

Fetches and pulls the latest changes for Odoo repositories (`odoo`, `enterprise`, `design-themes`).

In **multi-dir mode**, runs `git fetch`, `git restore .`, and `git pull` for each repo. In **single-repo mode**, runs `git fetch` only (no pull — branch is not known until switch).

## Usage

```bash
cc fetch
cc fetch --all
```

## Flags

| Flag          | Description                                            |
| ------------- | ------------------------------------------------------ |
| `-a`, `--all` | Fetch all configured versions, not just the active one |

## Examples

```bash
cc fetch
# → Fetches the active version's repos

cc fetch --all
# → Fetches all configured Odoo versions
```

## Related

* `cc switch` — triggers a background auto-fetch after switching (if configured)
* `cc config` — configure auto-fetch interval
