jj-reference

Installation
SKILL.md

Jujutsu Command Reference

Working copy is always a commit. Changes are first-class with stable IDs across rewrites.

Best Practices

  • User Authorization: NEVER commit (jj describe, jj commit), squash (jj squash), split (jj split), or push (jj git push) without explicit user confirmation. Always ask before modifying version control history.
  • Logical Commits: Group changes into logical steps; try to make each commit "usable" on its own.
  • Explicit Operations: Always use explicit change IDs for all operations (e.g., abandon, describe, edit, new, squash, split, rebase, bookmark).
  • Splitting: Use jj split -r <change-id> -m "<commit-message>" -- <file>; do not use interactive jj split.
  • Squashing: Use jj squash --from <from-id> --to <to-id> instead of implicit jj squash.
  • Direct Referencing: Reference change-id directly (or unique prefix) instead of using @- or @ to avoid ambiguity.

Key Concepts

  • @ = working copy commit
  • @- = parent, @-- = grandparent
  • Revsets: ::@ (ancestors), main..@ (commits since main)

Day-to-Day Commands

Installs
1
Repository
sirn/dotfiles
GitHub Stars
8
First Seen
Mar 3, 2026
jj-reference — sirn/dotfiles