macOS
brew install git-subrepolocal Homebrew formula metadata
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für git-subrepo in AI-Agent-Workflows.
Installation
brew install git-subrepolocal Homebrew formula metadata
sudo apt install git-subrepoDebian stable package indexes · git-subrepo · Quelle: deb.debian.org
nix profile install nixpkgs#git-subreponixpkgs package indexes · pkgs/by-name/gi/git-subrepo/package.nix · Quelle: api.github.com
sudo zypper install git-subrepoopenSUSE Tumbleweed package metadata · git-subrepo · Quelle: download.opensuse.org
Überblick
Git Submodule Alternative
Verlauf
git-subrepo is a Git extension for embedding external repositories into subdirectories while avoiding many workflow problems associated with submodules and subtrees.
The repository began in 2013 and framed git-subrepo as a solid alternative to Git submodule and subtree workflows. Its introductory documentation argues that users, collaborators, and repository owners have different needs, and that submodules especially impose knowledge and synchronization burdens on people who only want to clone and use a project.
The design stores subrepository metadata in a .gitrepo file inside the subdirectory, squashes pulls into the mainline history, and keeps refs for subrepo fetch and push workflows. A major 0.4.0-era redesign in 2018 shifted implementation details toward merge and rebase methods, with later 0.4.x releases improving testing, shell compatibility, path handling, Git version behavior, and completion scripts.
git-subrepo serves a persistent niche: projects that want vendored source trees with upstream synchronization but do not want users to run git submodule update. Its package-manager presence in Homebrew, Debian, Nix, and openSUSE-style packaging gives maintainers a packaged alternative for teams that reject Git submodules but still need upstream push and pull operations.
Practitioners clone an external repository into a subdirectory, initialize an existing subdirectory as a subrepo, pull upstream updates, push local subdirectory changes back, inspect status, clean metadata refs, and rely on .gitrepo to mark and configure each embedded repository.
git-subrepo is important in package-maintenance culture because it addresses the recurring vendor-versus-submodule choice. It favors normal clone behavior for downstream users while preserving enough metadata for maintainers to synchronize embedded code with upstream projects.
Sicherheitslage
narrow executable package without higher-risk signals.
grün Risiko · niedrig Konfidenz · appliance
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
git-subrepo | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://github.com/ingydotnet/git-subrepo
Installationsmetadaten
| Paketschlüssel | brew:git-subrepo |
|---|---|
| Version | 0.4.9 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/git-subrepo |
| Homepage | https://github.com/ingydotnet/git-subrepo |
| Repository | https://github.com/ingydotnet/git-subrepo |
| Upstream-Dokumentation | https://github.com/ingydotnet/git-subrepo#readme |
| Lizenz | MIT |
| Quellarchiv | https://github.com/ingydotnet/git-subrepo/archive/refs/tags/0.4.9.tar.gz |
| Zuletzt aktualisiert | 2026-06-22T14:03:31-07:00 |
| Pulse | updated |
| Abhängigkeiten | bash |
| Build-Abhängigkeiten | gnu-sed |
| Bottle | verfügbar (auf all) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | git-subrepo |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
git-subrepo 0.4.9-2
Alternative to git-submodule(1) and git-subtree(1)
https://github.com/ingydotnet/git-subrepo
sudo apt install git-subrepogit-subrepo
nix profile install nixpkgs#git-subrepogit-subrepo 0.4.6-2.4
Git Submodule Alternative
https://github.com/ingydotnet/git-subrepo
sudo zypper install git-subrepogit-subrepo-bash-completion 0.4.6-2.4
Bash completion for git-subrepo
https://github.com/ingydotnet/git-subrepo
sudo zypper install git-subrepo-bash-completiongit-subrepo-zsh-completion 0.4.6-2.4
ZSH completion for git-subrepo
https://github.com/ingydotnet/git-subrepo
sudo zypper install git-subrepo-zsh-completionQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.