Skip to content

Instantly share code, notes, and snippets.

@lzcabrera
Created December 2, 2013 03:41
Show Gist options
  • Save lzcabrera/7744624 to your computer and use it in GitHub Desktop.
Save lzcabrera/7744624 to your computer and use it in GitHub Desktop.
Create a new Github repo via CLI
curl -u 'USER' https://api.github.com/user/repos -d '{"name":"REPO"}'
# Remember replace USER with your username and REPO with your repository||application name!
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