Show HN: Ccgs – Collaborative Claude Code sessions, stored in Git branches
Solves the problem of Claude Code sessions being 'trapped' locally and unshareable, enabling colleagues to share and resume AI-assisted development sessions via Git orphan branches.
View Origin LinkProduct Positioning & Context
Enter ccgs: Share Claude Code sessions through an orphan branch (@ccgs/) in your existing repo's remote- Session files carry the author's absolute paths. On pull, ccgs rewrites the working dir back to your path so resume actually works — surgically editing only the structural cwd field, not a blind find-and-replace that would happily corrupt the transcript.- Everything goes through git plumbing (hash-object/commit-tree/update-ref) against a throwaway index. It never touches your working tree, index, or current branch, and it's fine with a dirty tree. It will not git checkout something behind your back.To try it without installing: `npx claude-git-sessions`. This also incidentally allows you to move a directory and carry the claude code transcripts with it (just push first, then move the directory, then pull)IMPORTANT CAVEAT: Unless you have a very good security hygiene, your Claude Code sessions are likely full of sensitive information such as environment secrets. Use with caution and avoid using on public repositories. Branches used by ccgs are prefixed by `@ccgs/` so you can easily filter them out.This project was written by and with Claude Code. This Show HN was not.(Reposted with URL fixed)
Related Ecosystem & Alternatives
Discover adjacent products, open-source repositories, and developer tools sharing similar technical architecture.
Deep-Dive FAQs
What is Ccgs – Collaborative Claude Code sessions, stored in Git branches?
Where did Ccgs – Collaborative Claude Code sessions, stored in Git branches originate?
When was Ccgs – Collaborative Claude Code sessions, stored in Git branches publicly launched?
How popular is Ccgs – Collaborative Claude Code sessions, stored in Git branches?
Which technical categories define Ccgs – Collaborative Claude Code sessions, stored in Git branches?
How does the creator describe Ccgs – Collaborative Claude Code sessions, stored in Git branches?
Community Voice & Feedback
No active discussions extracted yet.
Discovery Source
Hacker News Aggregated via automated community intelligence tracking.
Tech Stack Dependencies
No direct open-source NPM package mentions detected in the product documentation.
Media Tractions & Mentions
No mainstream media stories specifically mentioning this product name have been intercepted yet.
Deep Research & Science
No direct peer-reviewed scientific literature matched with this product's architecture.
SaaS Metrics