Last active
September 30, 2019 01:35
-
-
Save Justinzobel/382cb56a89979c658ca6588e57c40679 to your computer and use it in GitHub Desktop.
Get all Github user or organisations clone URLs
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
https clone URL: | |
GHUSER=USERNAME; curl "https://api.github.com/users/$GHUSER/repos?per_page=100" | grep clone_url | cut -d "\"" -f 4 | |
SSH clone URL: | |
GHUSER=USERNAME; curl "https://api.github.com/users/$GHUSER/repos?per_page=100" | grep ssh_url | cut -d "\"" -f 4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment