> ## Documentation Index
> Fetch the complete documentation index at: https://docs.diversion.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# update

> Sync and refresh your workspace with the Diversion update command to stay aligned with repository changes.

The update command pulls the latest changes from the current checked-out branch into your current workspace.

```bash theme={null}
dv update [--conflict_resolution <strategy>]
```

`[--conflict_resolution <strategy>]` sets how conflicts are handled:

* `manual` — resolve conflicts manually (default)
* `keep-current` — keep the workspace's changes
* `accept-incoming` — accept the latest changes from the checked-out branch
