Last active
June 28, 2020 02:11
-
-
Save johnteske/7610576493924eb214fd274852113b2b to your computer and use it in GitHub Desktop.
Check all repos for default branches named "master"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# requires gh and jq | |
gh api user/repos | jq -r '.[] | select(.default_branch == "master") | .full_name' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment