frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Ccgs – Collaborative Claude Code sessions, stored in Git branches

https://github.com/ingram-technologies/claude-git-sessions
5•scrollaway•1h ago
My team uses Claude Code daily, and the sessions have become some of the most useful artifacts we produce. But they're trapped in ~/.claude/projects/ on whichever laptop they happened on. There's no good way to hand a colleague "the session where I untangled the migration" so they can claude --resume it and keep going from where I left off. Enter ccgs: Share Claude Code sessions through an orphan branch (@ccgs/<name>) 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)

Comments

AG342•20m ago
I like the idea, but this does raise a larger question about sensitive information (that you've alluded to, but I think it's more of a systemic/cultural problem). Everyone knows you shouldn't be pasting env secrets and customer data into Claude, but many do it anyway because the perceived productivity gains offered by tools like Claude Code are just too high to ignore (and the payoff is instant and the potential risk is later).

What this does though is make that visible. If someone partakes in that bad practice, then the secrets are already sitting in the transcripts on their laptop - this just moves them somewhere shared and permanent. Maybe that's enough to discourage the practice, idk. Still, not strictly your problem, but an interesting one nonetheless.

I built a daily word game with six rarity tiers and no letter tiles

https://playoutlier.com
1•mszerencsy•37s ago•0 comments

Which Buffett? Warren or Jimmy. Can you tell them apart?

https://whichbuffett.github.io/quiz/
2•brightbeige•2m ago•1 comments

S4 – Squished S3

https://github.com/abyo-software/s4
1•tcp_handshaker•2m ago•0 comments

CSP: Bookmarklets should bypass pages' policies (2013 → Infeasible 2026)

https://issues.chromium.org/issues/40077444
1•myfonj•5m ago•0 comments

Illinois Gov. JB Pritzker to suspend tax breaks offered to data centers

https://www.nbcnews.com/politics/2028-election/illinois-gov-jb-pritzker-suspend-tax-breaks-offere...
2•tcp_handshaker•6m ago•0 comments

A Short Story About SQL's Biggest Rival (QUEL) (2020)

https://www.holistics.io/blog/quel-vs-sql/
1•peter_d_sherman•6m ago•1 comments

Commodore's Weirdest OS Is Back for 2026 [video]

https://www.youtube.com/watch?v=z_Lw-Zl7tCM
1•evo_9•7m ago•0 comments

dash: fast webserver for kdb (>100kq/sec)

https://github.com/geocar/dash
1•tosh•8m ago•0 comments

Show HN: Change multiple parts of an image at once with annotations tool[video]

https://www.youtube.com/watch?v=drmvrxDdNoc
1•julienreszka•10m ago•0 comments

Asus GB300 NVL72 Test Lab Tour

https://www.lttlabs.com/articles/2026/06/06/asus-test-server-tour
2•LabsLucas•11m ago•0 comments

Adopting the Parallel DWARF linker in dsymutil

https://jonasdevlieghere.com/post/dsymutil-parallel-linker/
1•JDevlieghere•11m ago•0 comments

ArchiveAlert: Exposing Malicious Scripts

https://www.youtube.com/channel/UCZZUvY13b_Ax5y8Fkrwc5ew
3•Cider9986•13m ago•0 comments

Qualcomm Linux

https://github.com/qualcomm-linux
2•tosh•15m ago•0 comments

Rustikon Agenda

https://www.rustikon.dev/agenda
2•mahirsaid•16m ago•0 comments

The Author Who Saw AI Coming, Somehow [video]

https://www.youtube.com/watch?v=xe4nUZqX9Ec
2•danboarder•20m ago•0 comments

Watch These Judges Rip into Lawyers for Citing Cases That Don't Exist

https://www.404media.co/new-york-court-ai-citations-landberg-case/
2•droidjj•21m ago•0 comments

A Citizen Science Organization Aims to Preserve the Places It Brings Touris

https://www.wired.com/story/preserving-the-places-tourists-go-to-study/
2•joozio•23m ago•0 comments

Rise in NEETs Is a 'Retirement Crisis in Slow Motion', Pension Experts Warn

https://www.ft.com/content/5f9ff5cf-a406-4824-9909-b7b6ba101fcd
3•karakoram•28m ago•1 comments

'More Harmful Than Helpful': Young People Sour on AI

https://www.ft.com/content/73fc962e-ce68-4521-9c5d-841a666eed10
6•karakoram•31m ago•1 comments

RariaSense – vanilla JavaScript library for interactive hover sounds

https://github.com/paulo807/rariasense
2•paulo949•33m ago•0 comments

How the Fight Against Ebola Tested a Culture's Traditions (2015)

https://www.nationalgeographic.com/adventure/article/150130-ebola-virus-outbreak-epidemic-sierra-...
2•recursivecaveat•34m ago•0 comments

How the Boomers Screwed Europe

https://www.economist.com/europe/2026/05/28/how-the-boomers-screwed-europe
3•karakoram•34m ago•2 comments

Heathkit: America's Biggest Loss [video]

https://www.youtube.com/watch?v=lUQOG1hp54g
3•ynac•35m ago•1 comments

I'm waiting for Claude to rm rf my computer

https://12gramsofcarbon.com/p/agentics-local-coding-agents-are
3•theahura•35m ago•1 comments

How Long Does It Take to Plan a Bridge?

https://www.construction-physics.com/p/how-long-does-it-take-to-plan-a-bridge
2•paulpauper•36m ago•0 comments

Did the Credibility Revolution Skip Public Management?

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=6816199
2•paulpauper•36m ago•0 comments

The world is bigger than you can imagine

https://scottsumner.substack.com/p/the-world-is-bigger-than-you-can
2•paulpauper•36m ago•0 comments

Public Identifiers, UUIDs and a Tiny SEO Fix

https://perlhacks.com/2026/06/public-identifiers-uuids-and-a-tiny-seo-fix/
2•scottchiefbaker•38m ago•0 comments

Search every file on your Mac by meaning – all Locally

https://hanxiao.io/omni/
2•amrrs•40m ago•0 comments

Fentanyl-to-Peptide Pivot by Chinese Cartels Supplying Gray-Market Ecosystem

https://www.chainalysis.com/blog/gray-market-peptide-crypto-boom/
2•ck2•41m ago•1 comments