2025-07-24 22:27:13 -06:00
|
|
|
# jj resolve
|
|
|
|
|
|
|
|
|
|
> Resolve conflicted files with an external merge tool.
|
2026-02-18 06:55:01 -07:00
|
|
|
> More information: <https://docs.jj-vcs.dev/latest/cli-reference/#jj-resolve>.
|
2025-07-24 22:27:13 -06:00
|
|
|
|
|
|
|
|
- Resolve all conflicts:
|
|
|
|
|
|
|
|
|
|
`jj resolve`
|
|
|
|
|
|
|
|
|
|
- List all conflicts:
|
|
|
|
|
|
|
|
|
|
`jj resolve {{[-l|--list]}}`
|
|
|
|
|
|
|
|
|
|
- Resolve conflicts in a given revision:
|
|
|
|
|
|
|
|
|
|
`jj resolve {{[-r|--revision]}} {{revset}}`
|
|
|
|
|
|
|
|
|
|
- Resolve conflicts in given files:
|
|
|
|
|
|
|
|
|
|
`jj resolve {{file1 file2 ...}}`
|
|
|
|
|
|
|
|
|
|
- Resolve accepting the incoming versions:
|
|
|
|
|
|
|
|
|
|
`jj resolve --tool :theirs`
|
|
|
|
|
|
|
|
|
|
- Resolve accepting the outgoing versions:
|
|
|
|
|
|
|
|
|
|
`jj resolve --tool :ours`
|