# 使用 Homebrew, MacPorts 安装 gitup

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

## 安装

```sh
sudo av install brew:gitup
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install gitup
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install GitUp
```

  证据: MacPorts ports tree: devel/GitUp/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:gitup
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/gitup>
- **版本:** 0.5.2
- **来源摘要:** Update multiple git repositories at once
- **主页:** <https://github.com/earwig/git-repo-updater>
- **仓库:** <https://github.com/earwig/git-repo-updater>
- **许可证:** MIT
- **源码归档:** <https://files.pythonhosted.org/packages/41/9e/3e47a00bf3c4e47f2acec776732421819b723d5adeae3b0adf0ed5f82c0d/gitup-0.5.2.tar.gz>
- **最后更新:** 2026-08-04T11:19:24Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- gitup (cli)
- gitup (别名)

## 依赖

- python@3.14

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.5.2
- 管理器更新时间: 2026-08-04
- 本地数据: OK
- 上游仓库: https://github.com/earwig/git-repo-updater
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

gitup, also named git-repo-updater in its repository, is a Python command-line tool for updating many Git repositories in one run. Its history is unusually long for a small Git helper, beginning in 2011 and continuing through Python and Git ecosystem changes.

### 项目历史

The project began in 2011. Its README says it was originally created to manage a large collection of projects and deal with sporadic internet access, a very practical origin for a tool that fetches and fast-forwards many repositories.

The changelog shows steady evolution around Git safety and portability. Version 0.2 rewrote the backend to use GitPython instead of direct shell calls, version 0.3 added Python 3 support and safer fast-forward-only branch updating, and version 0.5 added recursion-depth control for discovering repositories in directories.

After a long 0.5.x line, version 0.5.2 in June 2025 added Python 3.13 support, dropped end-of-life Python versions, and switched project management to uv. That release kept the small utility aligned with newer Python packaging practice.

### 采用历史

gitup's adoption is package-manager practical rather than hype-driven. It is installable from uv, pipx, pip, Homebrew, and MacPorts, and PyPI metadata points back to the GitHub repository, changelog, and issue tracker. Homebrew carries it as a stable formula for users who maintain many checkouts on macOS or Linux.

The tool remains valuable in environments where a developer, sysadmin, or package maintainer has many cloned repositories and wants predictable fetch or fast-forward behavior without writing a local shell loop.

### 使用方式

Practitioners pass one or more repository paths, pass a directory to discover repositories below it, or save paths as bookmarks. Running `gitup` without arguments updates bookmarked repositories, while options such as `--depth`, `--fetch-only`, and `--prune` tune how much discovery and branch updating happens.

The README emphasizes safety around dirty worktrees, diverged branches, detached HEADs, multiple remotes, and branches that cannot be fast-forwarded. That makes the tool useful for routine maintenance of many clones without forcing merges or rebases.

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

gitup is the sort of unglamorous tool package managers preserve because it solves a real local-maintenance problem. It turns a common package maintainer habit, checking every repository before work, into one command with guardrails.

### 时间线

- 2011: v0.1 initial release.
- 2014: v0.2 rewrote the backend around GitPython.
- 2015: v0.3 added Python 3 support and safer fast-forward behavior.
- 2018: v0.5 added repository discovery depth control.
- 2025: v0.5.2 added Python 3.13 support and uv-based project management.

### Related projects

- GitPython.
- uv, pipx, pip, Homebrew, and MacPorts packaging workflows.
- Git maintenance scripts for multi-repository workspaces.

### 来源

- <https://api.github.com/repos/earwig/git-repo-updater>
- <https://formulae.brew.sh/formula/gitup>
- <https://github.com/earwig/git-repo-updater>
- <https://pypi.org/project/gitup/>
- <https://pypi.org/pypi/gitup/json>
- <https://raw.githubusercontent.com/earwig/git-repo-updater/main/CHANGELOG>
- <https://raw.githubusercontent.com/earwig/git-repo-updater/main/README.md>


## 安全说明

没有找到 gitup 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

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

## 其他软件包管理器记录

- MacPorts - GitUp: normalized package name match | MacPorts ports tree: devel/GitUp/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [python@3.14](https://pkg.so/zh-hans/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [mani](https://pkg.so/zh-hans/brew/mani/) - Shares pkgdb curated category or tags: automation, cli, developer-tools, git, repository-management.
- [gh](https://pkg.so/zh-hans/brew/gh/) - Shares pkgdb curated category or tags: automation, cli, developer-tools, git.
- [lefthook](https://pkg.so/zh-hans/brew/lefthook/) - Shares pkgdb curated category or tags: automation, cli, developer-tools, git.
- [tox](https://pkg.so/zh-hans/brew/tox/) - Shares pkgdb curated category or tags: automation, cli, developer-tools, python.
- [ghq](https://pkg.so/zh-hans/brew/ghq/) - Shares pkgdb curated category or tags: cli, developer-tools, git, repository-management.
- [repo](https://pkg.so/zh-hans/brew/repo/) - Shares pkgdb curated category or tags: cli, developer-tools, git, repository-management.
- [ghorg](https://pkg.so/zh-hans/brew/ghorg/) - Shares pkgdb curated category or tags: cli, developer-tools, git, repository-management.
- [robot-framework](https://pkg.so/zh-hans/brew/robot-framework/) - Shares pkgdb curated category or tags: automation, cli, developer-tools, python.
- [grokmirror](https://pkg.so/zh-hans/brew/grokmirror/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, git, management.
- [all-repos](https://pkg.so/zh-hans/brew/all-repos/) - Both packages touch the same language runtime or ecosystem. Shared terms: automation, cli, developer, developer-tools, git.
- [git-machete](https://pkg.so/zh-hans/brew/git-machete/) - Both packages touch the same language runtime or ecosystem. Shared terms: automation, cli, developer, developer-tools, git.

## Combined YAML source

View the package source record on GitHub. [combined/gitup.yml](https://github.com/mxcl/pkgdb/blob/main/combined/gitup.yml)


## 来源

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