macOS
brew install git-subrepolocal Homebrew formula metadata
brew
git-subrepo のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install git-subrepolocal Homebrew formula metadata
sudo apt install git-subrepoDebian stable package indexes · git-subrepo · ソース: deb.debian.org
nix profile install nixpkgs#git-subreponixpkgs package indexes · pkgs/by-name/gi/git-subrepo/package.nix · ソース: api.github.com
sudo zypper install git-subrepoopenSUSE Tumbleweed package metadata · git-subrepo · ソース: download.opensuse.org
概要
Git Submodule Alternative
履歴
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.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
git-subrepo | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/ingydotnet/git-subrepo
インストールメタデータ
| パッケージキー | brew:git-subrepo |
|---|---|
| バージョン | 0.4.9 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/git-subrepo |
| ホームページ | https://github.com/ingydotnet/git-subrepo |
| リポジトリ | https://github.com/ingydotnet/git-subrepo |
| 上流ドキュメント | https://github.com/ingydotnet/git-subrepo#readme |
| ライセンス | MIT |
| ソースアーカイブ | https://github.com/ingydotnet/git-subrepo/archive/refs/tags/0.4.9.tar.gz |
| 最終更新 | 2026-06-22T14:03:31-07:00 |
| Pulse | updated |
| 依存関係 | bash |
| ビルド依存関係 | gnu-sed |
| Bottle | 利用可能 (対象 all) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| 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 |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
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-completionソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.