🤧githubでdefault branchを取得する2022/08/07に公開GitHubtechメモ $ gh repo list mattak --json nameWithOwner,defaultBranchRef | jq -r '.[] | select(.nameWithOwner == "mattak/swikt") | .defaultBranchRef.name' main Discussion
Discussion