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

Manage git worktrees used within odev.
odev worktree [-v {CRITICAL,ERROR,WARNING,INFO,DEBUG,DEBUG_SQL,NOTSET}] [-h] [-f] [-V VERSION] [-l] [-p] [-C] [-r] [-c] [name]wt
| Argument | Description |
|---|---|
name |
Name of the worktree to create, checkout or remove. |
| 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! |
-V, --version |
Act on a specific Odoo version only. |
-l, --list |
List worktrees and their properties. |
-p, --prune |
Prune worktrees with issues reported by git. |
-C, --create |
Create a new worktree. |
-r, --remove |
Remove an existing worktree. |
-c, --checkout |
Change the revisions used in an existing worktree. |
odev worktree --helpodev worktree --listodev worktree --create 19.0odev worktree --pruneodev worktree --checkout 19.0