Skip to content

Instantly share code, notes, and snippets.

@nyxcharon
Last active December 18, 2015 10:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nyxcharon/5766036 to your computer and use it in GitHub Desktop.
Save nyxcharon/5766036 to your computer and use it in GitHub Desktop.
Remotely created new repo
curl -u 'USER' https://api.github.com/user/repos -d '{"name":"REPO","description":"DESC"}'
git remote add origin git@github.com:USER/REPO.git
git push origin master
USER=Username
REPO=Repo Name
DESC= Your repo description
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment