Skip to content

Latest commit

 

History

History
6 lines (5 loc) · 655 Bytes

File metadata and controls

6 lines (5 loc) · 655 Bytes
  • Use jj instead of git. Check with ls .jj/ — if no .jj directory exists, fall back to git.

  • Branching: jj describe -m "type(scope): message" on @, then jj bookmark create <name> and jj git push -b <name>.

  • Before push: jj git fetch && jj rebase -b @ -o main. Resolve conflicts locally, verify with tests, then push.

  • Conflict resolution: jj resolve --list to find conflicts, edit files to remove markers (<<<<<<< / >>>>>>>), then squash resolution with jj squash (no --interactive flag). No detached HEAD or rebase-in-progress state to manage.

  • Undo: jj op undo reverts any operation. Safe to experiment.