Skip to content
slopworks-orgPublic

About

Git overlay CLI for keeping personal files, local config overrides, and hidden upstream paths in a separate Git repository on the same working tree

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

20 Commits

Folders and files

Repository files navigation

overgit

A version-controlled Git overlay CLI for personal files, local config overrides, and hidden upstream paths in a shared working tree.

CI Platform: Linux & macOS Rust 1.92+ License: AGPL-3.0-or-later

Keep private scripts, local configuration overrides, and personal tooling on top of any Git repository without polluting its commit history or relying on fragile .git/info/exclude and skip-worktree workarounds. Overgit stores your overlay in an independent Git repository (.overgit) inside the same working directory, so normal base Git commits stay clean while your personal setup stays versioned, portable, and mergeable.

  • Add and override files — Track private files or override base-tracked configs while keeping base git status clean.
  • Hide and replace upstream paths — Mask individual base files (whiteouts), replace whole directories (opaque directories), or hide tracked files with gitignore-style glob patterns (overgit rm --pattern).
  • Sync and share across machines — Push, pull, and clone your overlay like any Git repo, update the base with overgit base pull, three-way merge upstream changes with overgit sync, and use paired Git worktrees.
  • Built for safety — Atomic mutations with automatic rollback, local recovery backups (overgit recovery), and health diagnostics (overgit doctor).

Quick start

overgit init
overgit add personal.sh config.toml
overgit rm --pattern SPEC.md
overgit commit -m "personal setup"

Run overgit --help (and overgit <command> --help) for workflows, syncing, and safety guidance.

Install

Download a prebuilt Linux or macOS archive from GitHub Releases (and update later with overgit update), or build from source with system Git and mise. From this checkout, review mise.toml, then run:

mise trust && mise install
mise exec -- cargo install --path . --locked

License

AGPL-3.0-or-later. See LICENSE.

About

Git overlay CLI for keeping personal files, local config overrides, and hidden upstream paths in a separate Git repository on the same working tree

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages