jj
Installation
SKILL.md
Jujutsu (jj) Version Control
Agent Usage
When reading data from jj, always use --ignore-working-copy to avoid snapshotting the working copy (which is slow and unnecessary for read operations).
Non-interactive Commands (Critical)
Many jj commands spawn $EDITOR or interactive diff tools by default. These will hang indefinitely when run by agents. Always use the non-interactive alternatives:
| Command | Problem | Solution |
|---|---|---|
jj describe |
Opens editor | Always use -m "message" |
jj commit |
Opens editor | Always use -m "message" |
jj split |
Opens diff editor + may open editor for description | Provide filesets to select files; use -m for description |
jj squash |
May open editor for combined description | Use -m "message" or -u (use destination message) |