AI UNDERDOGSDAILY PICK
AI UNDERDOGS
AI 编程对话,能存进 Git 了
AI Sessions, Now in Git
ingram-technologies/claude-git-sessions
你跟 AI 聊了一整天写出来的代码
第二天想复盘那次对话——发现没了
这个工具直接把 Claude Code 的完整会话存进 Git 仓库
按 commit 组织
You spend all day pair-programming with Claude, and
the next morning you want to revisit that
session — gone. This tool persists your entire
Claude Code conversation into a Git repo, organized
by commit
对话即代码历史
Conversations as Code History
claude-git-sessions 做的事很简单:拦截 Claude Code 的会话输出
转成结构化文本
然后像代码一样 git commit
每条对话、每次工具调用
每个文件修改都有记录
你可以 git log 查历史
git diff 看两次会话的区别
claude-git-sessions intercepts Claude Code's session output, converts it
to structured text, and commits it like source
code. Every message, every tool call, every file
edit is captured. Run git log to browse
history, git diff to compare two sessions side
by side
★ SIGNAL 1
每轮对话单独成 commit
One Commit Per Session Turn
很多人做类似工具就是把会话导出成 JSON 扔进 repo 完事
这个作者把每一轮交互拆成独立 commit
包含时间戳和上下文元数据
这意味着你能精确定位「第 17 轮对话里 AI 生成了那个有 bug 的函数」
Most people building something like this would just
dump the whole session as a JSON file
This author splits each turn into its own
commit, with timestamps and context metadata. That means
you can pinpoint exactly which turn generated that
buggy function — commit 17, not 'somewhere in
a 200-message thread'
★ SIGNAL 2
跨设备同步不怕丢
Sync Across Machines, Never Lose a Session
Claude Code 的会话默认只在本地
换个设备就没了
这个工具用 Git 做持久层
推到远程仓库后
任何机器 pull 下来就能接着看
团队协作场景下
同事的 AI 编程思路也能直接翻阅
Claude Code sessions live locally by default —
switch machines and they're gone. This tool uses
Git as the persistence layer: push to a
remote, pull on any machine, and your sessions
are there. For teams, you can actually browse
how your colleagues worked with the AI
项目还比较新
README 里功能描述很克制
没有吹什么「革命性」
作者是 Ingram Technologies 的人
在 GitHub 上持续提交
对经常用 Claude Code 写项目的人来说
这种工具属于「早该有人做」的类型
The project is still young — the README
is straightforward, no 'revolutionary' claims anywhere. The author
is from Ingram Technologies, actively committing on GitHub
If you're a heavy Claude Code user, this
falls squarely in the 'someone should have built
this ages ago' category
AI UNDERDOGS
ingram-technologies/claude-git-sessions
ingram-technologies/claude-git-sessions
ingram-technologies/claude-git-sessions
关注 · 每天发现更多 AI 神作
github.com/ingram-technologies/claude-git-sessions