---
title: "在 Github 上监控 CI 状态"
description: "安装了 Github 的 hub 之后，你可以像这样获取当前 branch 的 ci-status："
canonical: https://oozou.com/til/watch-ci-status-on-github-47
locale: zh-Hans
date: 2020-10-13
topic: shell
---

# 在 Github 上监控 CI 状态

> 安装了 Github 的 hub 之后，你可以像这样获取当前 branch 的 ci-status：

Published: 2020-10-13 · Topic: [shell](https://oozou.com/zh-Hans/til-topics/shell) ([markdown](https://oozou.com/zh-Hans/til-topics/shell.md))

安装了 Github 的 [hub](https://github.com/github/hub) 之后，你可以像这样获取当前 branch 的 *ci-status*：

```shell
$ hub ci-status
pending
```

如果你安装了 *watch*（例如 *brew install watch*），就能持续查看状态：

```shell
$ watch hub ci-status
```

---

Contact OOZOU: hello@oozou.com · +66 2544 0000 · https://oozou.com/zh-Hans/contact

More for AI agents: https://oozou.com/llms.txt · every page has a markdown twin at its URL plus ".md"
