Last active
December 19, 2016 00:54
-
-
Save beshad/78b77bf0beabe8756606c6cc33c9cb2e to your computer and use it in GitHub Desktop.
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' https://api.github.com/user/repos -d '{"name":"REPO"}' | |
| git remote add origin git@github.com:USER/REPO.git | |
| git push origin master | |
| or for bitbucket: | |
| curl --user login:pass https://api.bitbucket.org/1.0/repositories/ \ | |
| --data name=REPO_NAME | |
| # replace USER with your username and REPO with your repository/application name! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment