1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-17 07:55:29 +02:00
tldr/pages/common/jj-resolve.md

29 lines
549 B
Markdown
Raw Normal View History

2025-06-26 22:14:42 +05:30
# jj resolve
> Resolve conflicted files with an external merge tool.
> More information: <https://jj-vcs.github.io/jj/latest/cli-reference/#jj-resolve>.
- 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:
2025-07-01 00:51:42 +05:30
`jj resolve {{file1 file2 ...}}`
2025-06-26 22:14:42 +05:30
- Resolve accepting the incoming versions:
2025-07-01 00:51:42 +05:30
`jj resolve --tool :theirs`
2025-06-26 22:14:42 +05:30
- Resolve accepting the outgoing versions:
2025-07-01 00:51:42 +05:30
`jj resolve --tool :ours`