# 使用 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
- **版本:** 0.5.2
- **来源摘要:** Update multiple git repositories at once
- **主页:** <https://github.com/earwig/git-repo-updater>
- **仓库:** <https://github.com/earwig/git-repo-updater>
- **最后更新:** 2026-07-25T10:24:36Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- gitup (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.5.2
## 项目历史与用法

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。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


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

- 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


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
