Created
November 4, 2012 12:55
-
-
Save adamrobbie/4011805 to your computer and use it in GitHub Desktop.
Remotely create a github rep
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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