LoginSignup
0
0

More than 1 year has passed since last update.

任意のコミット間で変更を加えたGithubのユーザー一覧を取得する

Last updated at Posted at 2022-05-27

ghコマンドだけ必要。こんな感じでできる。

$ gh api -H 'Accept: application/vnd.github.v3+json' /repos/IzumiSy/hoge-app/compare/commit1...commit2 | jq -r '.commits[].author.login | select(. != null)' | sort | uniq

jqでnullチェックをしないとnullさんのアカウントが取れてしまうので注意。

0
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
0
0