Skip to content

Instantly share code, notes, and snippets.

@cdario
Created July 30, 2013 10:28
Show Gist options
  • Save cdario/6111858 to your computer and use it in GitHub Desktop.
Save cdario/6111858 to your computer and use it in GitHub Desktop.
Create a repo in github via and push it via command line
curl -u 'USER' 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