Created
January 7, 2019 22:59
-
-
Save sauloefo/7ae377036f9fb58303d6bc1fdb018836 to your computer and use it in GitHub Desktop.
Create a GihHub repository from terminal
This file contains 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
# %1 GitHub username | |
# %2 Repository name | |
# %3 Make repository private. User true or false | |
curl -u '%1' https://api.github.com/user/repos -d '{"name":"%2","private":"%3"}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment