Agent skill
version-control-and-jujutsu
Install this agent skill to your Project
npx add-skill https://github.com/Gaku52/claude-code-skills/tree/main/05-infrastructure/version-control-and-jujutsu
SKILL.md
日本語版
Version Control and Jujutsu
Git is the foundation of modern development, yet few truly understand its internals. This guide dives deep into Git's internal object model, advanced operations, and the next-generation VCS Jujutsu (jj) -- exploring the depths of version control.
Target Audience
- Engineers who want to understand Git's internal architecture
- Developers looking to master advanced Git operations (rebase, bisect, reflog, etc.)
- Those interested in the next-generation VCS, Jujutsu
Prerequisites
- Basic Git operations (add, commit, push, pull, branch)
- Basic terminal operations
Study Guide
00-git-internals — Git Internals
| # | File | Description |
|---|
01-advanced-git — Advanced Git Operations
| # | File | Description |
|---|
02-jujutsu — Jujutsu (jj)
| # | File | Description |
|---|
Quick Reference
Git Internal Objects:
blob — File contents
tree — Directory structure
commit — Snapshot + metadata
tag — Named reference
Advanced Git Commands:
git rebase -i HEAD~5 — Interactively edit the last 5 commits
git bisect start/bad/good — Identify the commit that introduced a bug
git reflog — View HEAD movement history
git worktree add ../feature — Work on a branch in a separate directory
git log -S "keyword" — Search for code changes
Jujutsu (jj) Basics:
jj init — Initialize a repository
jj status — Check status
jj describe -m "message" — Set commit message
jj new — Create a new change set
jj squash — Squash into parent
jj git push — Push to Git remote
References
- Chacon, S. & Straub, B. "Pro Git." git-scm.com/book, 2024.
- Git. "Git Internals." git-scm.com/book/en/v2/Git-Internals, 2024.
- Jujutsu. "Documentation." martinvonz.github.io/jj, 2024.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
computer-science-fundamentals
A comprehensive guide covering the fundamentals of computer science. From hardware internals and data representation to algorithms, data structures, computation theory, programming paradigms, and software engineering basics — a systematic guide to all the CS foundations every engineer needs.
operating-system-guide
programming-language-fundamentals
algorithm-and-data-structures
linux-cli-mastery
aws-cloud-guide
Didn't find tool you were looking for?