Claude-skill-registry jujutsu
Guide to Jujutsu (jj) version control system. Use when working with commits, branches, pull requests, PRs, version control, rebasing, pushing, or when the user mentions jj, git, or version control operations.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/jujutsu-neversight-skills-feed" ~/.claude/skills/majiayu000-claude-skill-registry-jujutsu && rm -rf "$T"
manifest:
skills/data/jujutsu-neversight-skills-feed/SKILL.mdsource content
Jujutsu (jj) Version Control Guide
Jujutsu is a modern, Git-compatible version control system. This project uses jj colocated with git.
Key Differences from Git
| Concept | Git | Jujutsu |
|---|---|---|
| Staging area | Explicit | None - working copy IS a commit |
| Branches | Named refs | Bookmarks (auto-follow rewrites) |
| Stash | Separate stash stack | Not needed - just use commits |
| Amend | | Just edit files, or use |
| Identity | Commit ID only | Change ID (stable) + Commit ID |
Essential Commands
| Task | Command |
|---|---|
| Status | or |
| Diff | |
| Log | |
| Commit & continue | |
| Update message | |
| New empty commit | |
| Squash into parent | |
| Undo last operation | |
| Fetch from remote | |
| Push to remote | |
| Create & push bookmark | |
| Push existing bookmark | |
Working Copy Model
The working copy (
@) is always a commit. File changes are automatically tracked - no staging required.
parent commit ↓ @ (working copy) ← your edits go here automatically
Quick Git-to-Jujutsu Translation
| Git | Jujutsu |
|---|---|
| |
| |
| |
| |
| |
| then |
| then |
| |
| (just start new commit) |
| |
Additional References
- commands-reference.md - Complete command reference
- workflows.md - Common development workflows
- revsets.md - Revision selection syntax