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
Installs
53
GitHub Stars
59
First Seen
Feb 20, 2026