jj-history-investigation
Installation
SKILL.md
Jujutsu (jj) History Investigation and Manipulation
Overview
When working with complex jj repositories, you may need to investigate historical commits, split monolithic changes into focused commits, or clean up messy history. This skill documents efficient techniques for:
- Investigating commit history: Finding when changes were made and why
- Using jj annotate: Tracking down who/when specific lines were added
- Splitting commits: Breaking large commits into focused, reviewable pieces
- Handling immutability: Overriding protections when rewriting shared history
- Cleaning up redundancy: Removing duplicate or empty commits
- Resolving conflicts: Fixing merge conflicts after rebases
Core Commands
| Command | Purpose | Example |
|---|---|---|
jj log |
View commit history | jj log -r 'ancestors(@, 10)' |
jj show |
Display commit details | jj show abc123 |
Related skills
More from edmundmiller/dotfiles
tmux-status-debug
Debug and test tmux pane status detection for AI agents (opencode, claude, amp). Use when patterns aren't matching, status icons are wrong, or adding new detection patterns.
50using-jj-workspaces
Set up isolated jj workspaces for parallel development. Use when creating new workspaces, organizing workspace directories, or setting up gitignore for workspaces.
48agenix-secrets
>
46hass-config-flow
>
45nix-rebuild
>
45nix-platform-specific-options
Write Nix modules with platform-specific options (NixOS vs Darwin) without infinite recursion. Use when mkIf causes evaluation errors or options don't exist across platforms.
43