Version Private Agent Instructions with a Shared-Worktree Git Repo

BrianW_undercover · reddit · 2026-11-06

A Git trick for keeping personal per-project agent files (AGENTS.md, skills) versioned without committing them to public repos: version them in a private repo that shares the same worktree as the public repo, overlapping .git directories. Released as MIT-licensed git-dupe (Linux/Windows/macOS), it keeps files in place, readable, with independent history — no gitignore hacks.

Original post →

More from coding & agent

coding & agent channel →