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さんのアカウントが取れてしまうので注意。
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さんのアカウントが取れてしまうので注意。
Register as a new user and use Qiita more conveniently