---
title: "Vercel 部署"
description: "gitā 将仓库的 Vercel 部署显示在产出它们的提交旁，标明当前线上版本，并支持在应用内直接打开、提升、回滚和重新部署。"
url: https://getgita.app/zh-hans/features/vercel
lang: zh-Hans
---

# 来自 Vercel 的 部署状态

将仓库关联到 Vercel 项目后，每次提交都会显示由它构建出的部署以及可直接打开的网址。

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

## 试试看

1. 点击预览部署上的 **打开**，看看它构建出的网站：就是当前这个。
2. 点击 **检查**，查看此次部署的详细信息。
3. 点击 **复制**，复制该部署的地址。
4. 在侧边栏打开 **部署**，查看完整列表。

## Vercel

- **每次提交都有部署记录.** 提交详情中会显示其对应的部署：Preview 或 Production、状态是就绪、构建中还是失败，以及距今的时间。
- **直达你想要的地址.** 对于分支，gitā 显示该分支的固定地址，始终指向最新构建；对于生产环境，则直接显示你的正式域名。
- **一眼看清线上版本.** 当前正在服务生产环境的提交会在历史记录和详情中标有 Live。如果生产环境落后于分支，gitā 还会告诉你落后了多少次提交。
- **提升、回滚与重新部署.** 它们既是部署卡片上的按钮，也位于提交的右键菜单中。你还可以取消正在进行的构建。每一步都会先请你确认。
- **错误与告警.** 线上部署会显示过去一小时的错误数以及 Vercel 发出的任何告警。构建失败的部署则会展示日志的最后几行。
- **滚动发布.** 在滚动发布期间，提交会显示当前分配到的流量比例，你可以批准下一阶段、完成全量发布或中止发布。
- **团队评论.** 如果某个分支在 Vercel 上有未解决的评论，gitā 会显示数量并支持直接打开。

## Questions, answered

### Can I promote or roll back a deployment from gitā?

Yes. Promote, roll back and redeploy are buttons on the deployment and items in the commit's menu, and you can cancel a build that is running. Each asks you to confirm first.

### Does gitā show which deployment is live?

Yes. The commit that is serving production says **Live**, in the history and in its details. If production is behind the branch, gitā says by how many commits.

[全部功能](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
