macOS
brew install git-subrepolocal Homebrew formula metadata
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de git-subrepo pour les workflows d'agents IA.
installation
brew install git-subrepolocal Homebrew formula metadata
sudo apt install git-subrepoDebian stable package indexes · git-subrepo · Source: deb.debian.org
nix profile install nixpkgs#git-subreponixpkgs package indexes · pkgs/by-name/gi/git-subrepo/package.nix · Source: api.github.com
sudo zypper install git-subrepoopenSUSE Tumbleweed package metadata · git-subrepo · Source: download.opensuse.org
aperçu
Git Submodule Alternative
historique
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.
posture de sécurité
narrow executable package without higher-risk signals.
risque vert · confiance faible · appliance
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
exécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
git-subrepo | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
https://github.com/ingydotnet/git-subrepo
métadonnées d'installation
| Clé du paquet | brew:git-subrepo |
|---|---|
| Version | 0.4.9 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/git-subrepo |
| Page d'accueil | https://github.com/ingydotnet/git-subrepo |
| Dépôt | https://github.com/ingydotnet/git-subrepo |
| Docs amont | https://github.com/ingydotnet/git-subrepo#readme |
| Licence | MIT |
| Archive source | https://github.com/ingydotnet/git-subrepo/archive/refs/tags/0.4.9.tar.gz |
| Dernière mise à jour | 2026-06-22T14:03:31-07:00 |
| Pulse | updated |
| Dépendances | bash |
| Dépendances de compilation | gnu-sed |
| Bouteille | disponible (sur all) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| 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 |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
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-completionpiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.