Skip to content

(experimental) Linkify git commit references #156

@cboos

Description

@cboos
Bullet Reading
"git history matching" Correlate session events with git commits. "Which session produced commit abc123? What was the prompt that led to this change?"

grep/rg <commit> <rendered-projects-dir> -t md could easily locate the session and the closest prompt.
#151 could make that easier, but even now with <rendered-projects-dir> == ~/.claude/projects, this would work.

However, we could still enrich the markup with links to the remote (branch -> remote, remote -> GitHub/GitLab detection on the URL). Local commits would be rendered as 7c2e6f6, those found on the remote as 7c2e6f6.

Originally posted by @cboos in #110

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions