← All projects
Project record1 mention
Originally shared on Hacker News

Git-dupe

Git-dupe is a plain-Git tool for per-project private versioning of agent files: personal workflow files such as notes, skills, and AGENTS.md are committed to a private repo that shares the same worktree as the public repo (stored under .git/), so the files stay in the workspace at the correct locations with version history while remaining hidden from the public repo. Supports macOS, Linux, and Windows under the MIT License.

Last shared
01 / The problem

What it addresses

Personal workflow files like notes, skills, and agent instructions should not be committed to the public repo, but they need to be present in the workspace at the correct locations (e.g., AGENTS.md) and still be versioned, so they cannot simply be gitignored.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Git-dupe

    Git-dupe is a plain-Git tool for per-project private versioning of agent files: personal workflow files such as notes, skills, and AGENTS.md are committed to a private repo that shares the same worktree as the public repo (stored under .git/), so the files stay in the workspace at the correct locations with version history while remaining hidden from the public repo. Supports macOS, Linux, and Windows under the MIT License.

    Problem: Personal workflow files like notes, skills, and agent instructions should not be committed to the public repo, but they need to be present in the workspace at the correct locations (e.g., AGENTS.md) and still be versioned, so they cannot simply be gitignored.

    Posted by @WayHow · Original source ↗

    Story title · @WayHow · · Source ↗

    Git-dupe

    Submitted URL · @WayHow · · Source ↗

    https://github.com/BrianWeiHaoMa/git-dupe

    Story title · @WayHow · · Source ↗

    plain Git per-project private versioning for agent files

    Source text · @WayHow · · Source ↗

    The solution, in short, is versioning those agent files in a repo, say <private-repo> (this repo is private to you and holds the history for your agent files), and that repo shares the same worktree as the public repo <public-repo>.

    Source text · @WayHow · · Source ↗

    git-dupe supports macOS, Linux, and Windows and is under the MIT License.

    Source text · @WayHow · · Source ↗

    Suppose you have notes, skills, and agent instructions that are part of your personal workflow, so you do not want them committed to the public repo, but at the same time, you want them to be in the workspace at the correct locations (e.g., AGENTS.md file locations matter), and these files cannot be simply gitignored because you also want versioning for them.