jujutsu

Map Git workflows to Jujutsu commands with revsets and bookmarks.

286|18|Updated Feb 2, 2013
One-click install
npx skills add https://github.com/ahmedelgabri/dotfiles --skill jujutsu-ahmedelgabri
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: jujutsu
Source: https://github.com/ahmedelgabri/dotfiles/tree/main/config/claude/skills/jujutsu
Command: npx skills add https://github.com/ahmedelgabri/dotfiles --skill jujutsu-ahmedelgabri

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill helps teams adopt Jujutsu by translating common Git workflows into jj equivalents and clarifying how to operate within a jj repository.

Core Features & Use Cases

  • Translate Git concepts to jj equivalents (staging area, commits, revsets, bookmarks) and provide practical command mappings.
  • Guide daily tasks in jj such as status, diff, commit, log, and rebase using jj-native terminology.
  • Use case: Teams migrating from Git can reference this skill to swap commands and concepts with minimal disruption.

Quick Start

Run jj st to view the working copy status in a jj-enabled repository. Then try jj log to inspect recent changes and jj describe to draft a change message.

Frequently Asked Questions about jujutsu

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I translate Git commands to Jujutsu equivalents?

Jujutsu maps Git workflows to jj commands with different underlying concepts. Use jj st for status, jj log for history, jj describe for commit messages, and jj rebase for rebasing. The skill provides a command table translating common Git operations to jj syntax for teams migrating from Git.

What is the difference between Git staging and Jujutsu workflows?

Jujutsu eliminates the staging area; changes go directly into the working copy and description. Instead of git add and git commit, use jj describe to draft changes and jj commit to snapshot them. This streamlines the workflow by reducing intermediate steps.

How do I use revsets and bookmarks in Jujutsu?

Revsets in Jujutsu are query expressions for selecting commits by ancestry, author, or description. Bookmarks mark important commits like branches in Git. The skill covers revset syntax and bookmark operations to help you navigate and organize changes efficiently.

Can I migrate an existing Git repository to Jujutsu?

Yes, Jujutsu is Git-compatible and can work with Git repositories. Import your existing repo and use jj commands alongside Git workflows during transition. The skill guides you through common daily tasks in jj to minimize disruption when adopting Jujutsu.

What do I need to start using Jujutsu?

You need the jj tool installed on your system and a Git-compatible repository. The skill assumes jj availability and provides reference documentation for commands, revsets, and workflows. Start with jj st to check working copy status in a jj-enabled repository.

Why should teams adopt Jujutsu over Git?

Jujutsu simplifies version control by removing the staging area and offering advanced features like revsets for flexible commit querying and bookmarks for branch-like navigation. It reduces cognitive load for daily workflows while maintaining Git compatibility for interoperability.