pkg.soopen package index

brew / 排名 6272

使用 Homebrew, apt, Nix, zypper 安装 git-subrepo

查看 git-subrepo 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install git-subrepo

local Homebrew formula metadata

Linux

Debian apt已验证 · 92%
sudo apt install git-subrepo

Debian stable package indexes · git-subrepo · 来源: deb.debian.org

Nix已验证 · 92%
nix profile install nixpkgs#git-subrepo

nixpkgs package indexes · pkgs/by-name/gi/git-subrepo/package.nix · 来源: api.github.com

openSUSE zypper已验证 · 92%
sudo zypper install git-subrepo

openSUSE Tumbleweed package metadata · git-subrepo · 来源: download.opensuse.org

概览

软件包摘要

Git Submodule Alternative

命令和别名

  • git-subrepo

历史

项目历史与用法

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.

时间线

  • 2013: First public commit appeared in the GitHub repository.
  • 2015: 0.2.x and 0.3.0 tags marked early public releases.
  • 2018: 0.4.0 release documented a redesign around merge and rebase methods.
  • 2024: 0.4.7 through 0.4.9 releases included compatibility and packaging fixes.

Related projects

  • The project's own documentation compares it directly with git-submodule and git-subtree, and also discusses subtree merge strategies as related Git practice.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
git-subrepo可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本0.4.9
管理器更新时间2026-06-22
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:git-subrepo
版本0.4.9
软件包管理器Homebrew
主页https://github.com/ingydotnet/git-subrepo
仓库https://github.com/ingydotnet/git-subrepo
最后更新2026-06-22T14:03:31-07:00
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

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-subrepo
  • Section: vcs
  • Architecture: amd64
  • 1 依赖
  • normalized package name match
  • 匹配方式:Git Subrepo
Debian stable package indexes · deb.debian.org · Debian stable package indexes: git-subrepo from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

git-subrepo

nix profile install nixpkgs#git-subrepo
  • normalized package name match
  • 匹配方式:Git Subrepo
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/gi/git-subrepo/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
zypper95%

git-subrepo 0.4.6-2.5

Git Submodule Alternative

https://github.com/ingydotnet/git-subrepo

sudo zypper install git-subrepo
  • License: MIT
  • Category: Development/Tools/Version Control
  • Architecture: noarch
  • Source Package: git-subrepo
  • 3 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Git Subrepo
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: git-subrepo from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
zypper95%

git-subrepo-bash-completion 0.4.6-2.5

Bash completion for git-subrepo

https://github.com/ingydotnet/git-subrepo

sudo zypper install git-subrepo-bash-completion
  • License: MIT
  • Category: Productivity/File utilities
  • Architecture: noarch
  • Source Package: git-subrepo
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Git Subrepo
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: git-subrepo-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
zypper95%

git-subrepo-zsh-completion 0.4.6-2.5

ZSH completion for git-subrepo

https://github.com/ingydotnet/git-subrepo

sudo zypper install git-subrepo-zsh-completion
  • License: MIT
  • Category: Productivity/File utilities
  • Architecture: noarch
  • Source Package: git-subrepo
  • 1 提供
  • normalized package name match
  • 匹配方式:Git Subrepo
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: git-subrepo-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation