Jujutsu Version Control
Critical Rule: Use jujutsu exclusively. DO NOT make ANY git commands.
Branch Management
When pushing a branch:
- •NEVER merge
- •Fetch main branch
- •Rebase onto it
bash
jj git fetch jj rebase -d main jj git push
Common Commands
Status and Inspection:
bash
jj status # View status jj log # View log jj diff # View diff
Making Changes:
bash
jj describe -m "commit message" # Describe changes jj new # Create new change jj edit # Edit a change
Branch Operations:
bash
jj branch create <name> # Create branch jj rebase -d <destination> # Rebase
Remote Operations:
bash
jj git fetch # Fetch jj git push # Push