Understand what commits are visible in jj log, elided revisions, and how to display different views. Use when commits seem missing, understanding log output, comparing jj log to git log, or seeing "elided" in log output.
/plugin marketplace add edmundmiller/dotfiles/plugin install jj@dotfiles-pluginsThis skill is limited to using the following tools:
faq-reference.mdKey insight: jj log doesn't show all commits by default. It shows a smart subset: local commits and their parents. This prevents overwhelming you with the entire repository history.
Understanding visibility rules is essential for finding commits and understanding jj's output.
What you see by default:
jj log # Shows: local commits + their parents
This includes:
@)What's hidden:
# See everything, including hidden commits
jj log -r 'all()'
# See all visible commits (excluding root)
jj log -r '..'
# See commits matching git log
jj log -r '..' # Similar to: git log --all
What are they?
When jj log shows: ◆ <several revisions>, it means intermediate commits exist but aren't shown in the current view.
Example:
@ abc123 my work
│ <several revisions> ← Elided!
◆ def456 base commit
This means commits exist between abc123 and def456, but they're not displayed.
Showing elided commits:
# Show connecting commits
jj log -r 'connected(abc123, def456)'
# Show all ancestors
jj log -r 'ancestors(abc123, 10)' # Show 10 levels
# Show everything between
jj log -r 'abc123..def456'
Problem: Made a commit but don't see it in jj log.
Solutions:
Check visibility:
jj log -r 'all()' # See if it's hidden
Search by description:
jj log -r 'description(keyword)'
Search by author:
jj log -r 'author(your-name)'
Make it visible again:
jj new <commit-id> # Creates child, makes commit visible
Git behavior:
git log # Shows current branch history
git log --all # Shows all refs/branches
Jj equivalents:
jj log -r '@-' # Show current lineage (like git log)
jj log -r '..' # Show all visible (like git log --all)
jj log -r 'all()' # Show absolutely everything
Problem: Want to watch log evolve as you work.
Solutions:
# Using watch (Linux/macOS)
watch -n 1 jj log
# Using hwatch (better formatting)
hwatch -n 1 jj log
# Using viddy (interactive)
viddy jj log
# Using watchexec (watches for file changes)
watchexec -w .jj/repo/op_heads/heads jj log
Pro tip: Consider jj-fzf or check the wiki for TUIs/GUIs.
# Local work only
jj log -r 'mine()'
# Everything reachable from @
jj log -r 'ancestors(@)'
# Recent work (last 10 commits)
jj log -r 'ancestors(@, 10)'
# Commits since yesterday
jj log -r 'after(yesterday)'
# Commits matching pattern
jj log -r 'description(fix)'
jj log -r 'author(alice)'
# Commits with bookmarks
jj log -r 'bookmarks()'
# Commits without description
jj log -r 'description(exact:"")'
Use this skill when:
jj logDon't use this skill for:
For detailed FAQ answers and advanced revset patterns:
📚 See detailed docs: faq-reference.md
This includes:
# Visibility control
jj log # Default view (local + parents)
jj log -r 'all()' # Everything including hidden
jj log -r '..' # All visible commits (git log --all equivalent)
jj log -r 'ancestors(@)' # Commits leading to @
# Finding commits
jj log -r 'description(text)' # Search descriptions
jj log -r 'author(name)' # Search by author
jj log -r 'mine()' # Your commits
# Elided revisions
jj log -r 'connected(a, b)' # Show connecting commits
jj log -r 'ancestors(@, 10)' # Last 10 ancestors
Visibility is intentional. Jj hides commits to reduce noise, not because they're lost. Use jj log -r 'all()' to see everything, or refine your revset to find specific commits.
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.