# 使用 Homebrew 安装 git-url-sub

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

## 安装

```sh
sudo av install brew:git-url-sub
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install git-url-sub
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:git-url-sub
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/git-url-sub>
- **版本:** 1.0.1
- **来源摘要:** Recursively substitute remote URLs for multiple repos
- **主页:** <https://gosuri.github.io/git-url-sub>
- **仓库:** <https://github.com/gosuri/git-url-sub>
- **上游文档:** <https://github.com/malyn/git-url-sub#readme>
- **许可证:** MIT
- **源码归档:** <https://github.com/gosuri/git-url-sub/archive/refs/tags/1.0.1.tar.gz>
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- git-url-sub (cli)
- git-url-sub (别名)

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 1.0.1
- 本地数据: OK
- 上游仓库: https://github.com/gosuri/git-url-sub
- 检测到的最新版本: 1.0.1 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

git-url-sub is a small shell Git utility for recursively substituting remote URLs across multiple repositories.

### 项目历史

Greg Osuri published git-url-sub in 2011. The README and license identify the project as a compact Git helper aimed at changing repository remotes in bulk rather than editing each repository by hand.

### 采用历史

The project had a Homebrew installation path early enough to be documented in the README. Its repository remained small, with sparse public history and a narrow command surface.

### 使用方式

Practitioners use git url-sub with a pattern and replacement to rewrite remote URLs, for example after a GitHub organization rename, a hosting migration, or a switch between URL styles. The -c option commits changes and -s suppresses output.

### 为什么软件包爱好者会关心

git-url-sub is notable as a Unix-style Git helper: a single-purpose command that automates a repetitive repository-maintenance chore without building a broader synchronization system.

### 时间线

- 2011: Repository created and README copyright year recorded.
- 2011: 1.0.0 and 1.0.1 tags were published in the repository.

### Related projects

- git remote set-url, Homebrew

### 来源

- <https://formulae.brew.sh/formula/git-url-sub>
- <https://github.com/gosuri/git-url-sub>
- <https://github.com/gosuri/git-url-sub/tags>
- <https://raw.githubusercontent.com/gosuri/git-url-sub/master/README.md>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** git-url-sub
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Requirements:** macos
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [git-get](https://www.automicvault.com/zh-hans/pkg/brew/git-get/) - Shares av.db curated category or tags: cli, developer-tools, repository-management, version-control.
- [git-grab](https://www.automicvault.com/zh-hans/pkg/brew/git-grab/) - Shares av.db curated category or tags: cli, developer-tools, repository-management, version-control.
- [git-lfs](https://www.automicvault.com/zh-hans/pkg/brew/git-lfs/) - Shares av.db curated category or tags: cli, developer-tools, git-extension, version-control.
- [git-machete](https://www.automicvault.com/zh-hans/pkg/brew/git-machete/) - Shares av.db curated category or tags: cli, developer-tools, git-extension, version-control.
- [git-mediate](https://www.automicvault.com/zh-hans/pkg/brew/git-mediate/) - Shares av.db curated category or tags: cli, developer-tools, git-extension, version-control.
- [git-multipush](https://www.automicvault.com/zh-hans/pkg/brew/git-multipush/) - Shares av.db curated category or tags: cli, developer-tools, git-extension, version-control.
- [git-now](https://www.automicvault.com/zh-hans/pkg/brew/git-now/) - Shares av.db curated category or tags: cli, developer-tools, git-extension, version-control.
- [git-number](https://www.automicvault.com/zh-hans/pkg/brew/git-number/) - Shares av.db curated category or tags: cli, developer-tools, git-extension, version-control.
- [git-trim](https://www.automicvault.com/zh-hans/pkg/brew/git-trim/) - Package names and metadata indicate a similar tool family. Shared terms: cli, control, developer, developer-tools, extension.

## Combined YAML source

View the package source record on GitHub. [combined/git-url-sub.yml](https://github.com/automic-vault/db/blob/main/combined/git-url-sub.yml)


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
