---
title: "在 Github 上監看 CI 狀態"
description: "安裝了 Github 的 hub 之後，你可以像這樣取得目前 branch 的 ci-status："
canonical: https://oozou.com/til/watch-ci-status-on-github-47
locale: zh-Hant
date: 2020-10-13
topic: shell
---

# 在 Github 上監看 CI 狀態

> 安裝了 Github 的 hub 之後，你可以像這樣取得目前 branch 的 ci-status：

Published: 2020-10-13 · Topic: [shell](https://oozou.com/zh-Hant/til-topics/shell) ([markdown](https://oozou.com/zh-Hant/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-Hant/contact

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