Skip to content

Instantly share code, notes, and snippets.

@sauloefo
Created January 7, 2019 22:59
Show Gist options
  • Save sauloefo/7ae377036f9fb58303d6bc1fdb018836 to your computer and use it in GitHub Desktop.
Save sauloefo/7ae377036f9fb58303d6bc1fdb018836 to your computer and use it in GitHub Desktop.
Create a GihHub repository from terminal
# %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