1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

PR,Issuesをコマンドラインから見たい

Last updated at Posted at 2025-12-03

初めに

GithubのIssuesやPRを確認したいとき、ブラウザから確認する方法もあるが、コマンドラインから確認したい、ということでGitHub CLIを用いてコマンドライン上で確認できる方法を書いていく。

公式リポジトリ

インストール

GitHub CLIをインストールする。

sudo apt update
sudo apt install gh

バージョン確認

gh --version

その後ログイン

gh auth login --scopes "read:public_key"

などなどお好きな方法でログイン指定ただいて。

Issue確認

自分にアサインされているIssueを一覧で表示する。

gh search issues --assignee @me --state open

PR確認

自分にアサインされているPRを一覧で表示する。

gh search prs --assignee @me --state open

以下のように一覧で表示される。
Screenshot from 2025-11-21 09-01-40.png

これらをalias登録すれば、コマンドライン上でIssue、PRを確認できる:D

終わりに

GH便利だ
~Thank you for reading~

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?