---
title: "轻松应对大型仓库"
description: "gitā 专为快速打开超大型仓库而设计。它可以浏览拥有 150 万次提交的 Linux 内核完整历史，并在你滚动时按需读取后续提交。"
url: https://getgita.app/zh-hans/features/large-repositories
lang: zh-Hans
---

# 为极速加载大型仓库 而生

gitā 使用 Swift 和 AppKit 编写，每次只向 git 请求即将显示的内容。Linux 内核拥有约 150 万次提交，但在 gitā 中打开和滚动就跟普通仓库一样轻快。

A live copy of the app is on the page: https://getgita.app/zh-hans/features/large-repositories

## 试试看

1. 用最快的速度滚动历史记录。
2. 把滚动条直接拖到底部再拖回来。
3. 选中列表深处的一条提交。

## 大型仓库

- **首屏优先呈现.** gitā 会先读取最新的 500 条提交并立即显示，然后在后台继续读取。你永远不必等待整个历史加载完成。
- **随滚动按需加载.** 当你向下浏览列表时，后续提交会以每次 2,000 条的速度持续载入。
- **始终保持可读的图谱.** 无论仓库有多少分支，图谱横向最多绘制四十条泳道，并会提示其余分支的数量。
- **为慢速仓库提速.** 开启该设置后，gitā 会为读取较慢的仓库生成 git 的 commit-graph 文件并保持索引新鲜。你的提交与文件本身不会被改动。
- **后台静默低耗.** 关闭窗口后，gitā 仍在检查 GitHub、Vercel 和智能体状态，但仅占用不到单个 CPU 核心 1% 的资源。
- **无网页视图.** 列表、树形结构和差异对比均采用原生 Mac 视图，你与滚动条之间没有任何浏览器引擎拖慢速度。

## Questions, answered

### How does gitā stay fast with huge histories?

It asks git only for what it is about to show: the newest 500 commits come first, and further commits arrive 2,000 at a time as you scroll. The lists, trees and diffs are native Mac views.

### Can gitā really open the Linux kernel?

Yes. The Linux kernel has about 1.5 million commits, and it opens and scrolls in gitā like any other repository.

[全部功能](https://getgita.app/zh-hans/features.md)

- **下载 macOS 版:** https://github.com/rolottr/gita/releases/latest
- **在 GitHub 上查看:** https://github.com/rolottr/gita

---

Apple, macOS and Mac are trademarks of Apple Inc. Git is a trademark of Software Freedom Conservancy. GitHub is a trademark of GitHub, Inc. Vercel is a trademark of Vercel Inc. Claude is a trademark of Anthropic, PBC. gitā is independent software and is not affiliated with any of them. 问题反馈: https://github.com/rolottr/gita/issues
