frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: git-dupe – Version private files alongside a public Git repo

https://github.com/BrianWeiHaoMa/git-dupe/tree/main
1•WayHow•1h ago
Hi HN!

I made git-dupe to solve the problem where I have notes, skills, and agent instructions that are part of my personal workflow, so I do not want them committed to the public repo, but at the same time, I want them to be in the project at the correct locations (e.g., AGENTS.md file locations matter), and these files cannot be simply gitignored because I want versioning for them.

The solution that I've come upon is versioning those agent files in another repo, say <private-repo> (this repo is private to me and holds the history for my agent files). The project itself is open to the public in another <public-repo>. I overlap the two repos to solve the problem (i.e., they share the same worktree).

  $ git status --short              # the public repo
  ?? AGENTS.md
  ?? notes/

  $ git dupe init                   # the private repo
  Initialized empty Git repository in /home/brian/code/project/.git/dupe/

  $ git dupe add notes/ AGENTS.md   # the private repo
  hint: notes is now hidden from the project's Git; run from the root, 'git dupe unhide -- notes' stops hiding it

  $ git dupe commit -m "Notes and agent instructions"        # the private repo
  [main (root-commit) 3eb3af9] Notes and agent instructions
   3 files changed, 3 insertions(+)
   create mode 100644 .gitdupe
   create mode 100644 AGENTS.md
   create mode 100644 notes/todo.md

  $ git status --short              # the public repo: nothing

  $ git dupe log --oneline          # the private repo: your files
  3eb3af9 Notes and agent instructions
In short, git-dupe allows two Git repos to share the same worktree, while using native Git for most operations. Most git-dupe commands behave just like normal Git commands, operating on the private repo instead.

git-dupe currently supports Linux and macOS, and is under the MIT License; the git-dupe repo contains much more extensive technical documentation documentation for those who are interested. If you have any feedback/questions about git-dupe, feel free to message. I hope it helps!

Fun fact: the git-dupe project itself is using git-dupe for versioning.

Microsoft offers voluntary buyouts to 60,000 employees as AI efficiency push

https://www.cnbc.com/2026/10/26/microsoft-msft-voluntary-buyouts.html
1•ck2•31s ago•0 comments

A Life, One in 8B

https://in8b.com/
1•souvlakee•1m ago•0 comments

Show HN: Quorus – Claude Code writes it, nothing hits main until Codex says GO

https://github.com/Quorus-dev/Quorus
1•chasemonkey•3m ago•0 comments

What end-to-end AI systems mean for the future of assisted and automated driving

https://www.aptiv.com/en/insights/article/q-a-from-modular-software-to-end-to-end-ai
1•ohjeez•4m ago•0 comments

Shlemiel the Painter Is Back: How Zig's Libc Rewrite Made SQLite 12,000× Slower

https://dennisforbes.ca/blog/microblog/2026/10/the_accidental_12000x_sqlite_slowdown/
1•llm_nerd•4m ago•0 comments

Free AI education: certifications, hands-on technical courses, and resources

https://www.aicertificationcouncil.com/
1•quietkernel•4m ago•0 comments

Let Chaos Reign, and Then Rein in Chaos

https://www.a16z.news/p/let-chaos-reign-and-then-rein-in
1•swolpers•5m ago•1 comments

Show HN: Resin, fast native scheduler for LLM inference engines

https://github.com/ekzhang/resin
1•ekzhang•5m ago•0 comments

7-Day Week is a Crippling Bottleneck. Would 8-day do? [pdf]

http://www.ybnd.eu/docs/7-day_bottleneck.pdf
1•abregni•7m ago•0 comments

I Hate Cookie Consent

https://ciphercue.com/blog/cookie-banners-ad-trackers-fire-first
2•adulion•10m ago•0 comments

The Vertical Codebase

https://tkdodo.eu/blog/the-vertical-codebase
1•ibobev•10m ago•0 comments

Some iPhone Duo Models Are Breaking. iFixit's Teardown Might Explain Why

https://www.wired.com/story/some-iphone-duo-models-are-breaking-ifixits-teardown-might-explain-why/
1•bigwheels•10m ago•0 comments

The C++26 Inplace_vector Container

https://mariusbancila.ro/blog/2026/10/24/the-cpp26-inplace_vector-container/
1•ibobev•11m ago•0 comments

Decompiling Fast Food Tycoon 2: Drawing the World

https://healeycodes.com/decompiling-fast-food-tycoon-2-drawing-the-world
1•ibobev•12m ago•0 comments

Lotus Improv on the NeXT

https://www.stonetoolsblog.com/lotusimprov-next/
1•homarp•12m ago•0 comments

Pito Salas – Everything I've Written About Lotus Improv

https://salas.com/blog/2026-10-18-everything-ive-written-about-lotus-improv.html
1•homarp•13m ago•1 comments

Show HN: pw-repl - A Playwright-powered REPL for you and your agents to share

https://github.com/arcanemachine/pw-repl
1•arcanemachiner•13m ago•0 comments

Oanda Japan Holds Withdrawals After Hack at Server Host Used by FX Traders

https://www.financemagnates.com/forex/brokers/oanda-japan-holds-withdrawals-after-hack-at-server-...
1•wand3r•14m ago•0 comments

Spool now runs Claude Code loops on Anthropic's cloud

https://github.com/enes-alatas/spool/releases
2•enesalatas•16m ago•1 comments

I turned our dad band into interactive Gumby-style claymation

https://mbgstar.com/about
1•whatrocks•17m ago•0 comments

Private Tests, Public Code: Protecting Stalwart from AI Clones

https://stalw.art/blog/protecting-stalwart/
1•Arnt•18m ago•0 comments

I Hate Cookie Consent

https://ciphercue.com/blog/cookie-banners-ad-trackers-fire-first,
2•adulion•19m ago•2 comments

Settlements, Occupation, and Conflict

https://lusopt2016.blogspot.com/2026/10/colonatos-ocupacao-e-conflito-porque.html
1•inandout•19m ago•0 comments

Hotel Rating

https://en.wikipedia.org/wiki/Hotel_rating
1•tosh•19m ago•0 comments

Race as Narrative: Technological Rivalry and the Struggle to Define Victory

https://medium.com/@smoking2man/race-as-narrative-technological-rivalry-and-the-struggle-to-defin...
1•Aldus551•19m ago•0 comments

Data Centers: A Necessary Evil [video]

https://www.youtube.com/watch?v=iRCnengWjLE
1•mooreds•20m ago•0 comments

Web Page Crawler Revealed – Tracking Down Requests from Contabo GmbH

https://bruceediger.com/posts/contabo-crawler/
1•majorchord•21m ago•0 comments

Preview, edit, and collaborate on Markdown (.md) files in Google Docs and Drive

https://developers.googleblog.com/preview-edit-and-collaborate-on-markdown-md-files-natively-in-g...
1•xnx•21m ago•0 comments

Denmark's bid to ditch Microsoft Office for open-source alternative collapses

https://www.tomshardware.com/software/microsoft-office/denmarks-bid-to-ditch-microsoft-office-for...
3•nhatcher•22m ago•1 comments

Touch-sensing digital pixel fibre enables interactive garment GUI

https://www.nature.com/articles/s41586-026-11128-9
1•paulpauper•22m ago•0 comments