Skip to content

Instantly share code, notes, and snippets.

@scottlingran
Last active December 12, 2015 02:39
Show Gist options
  • Save scottlingran/4700696 to your computer and use it in GitHub Desktop.
Save scottlingran/4700696 to your computer and use it in GitHub Desktop.
Creating a Github repo from CLI
$ curl -u 'USER:PASS' https://api.github.com/user/repos -d '{"name":"REPO"}'
$ git remote add origin [email protected]:USER/REPO.git
$ git push origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment