CLI commands for github API v3 (replace all CAPS keywords):
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
More Related Contents:
- Git SSH error: “Connect to host: Bad file number”
- SSH Key – Still asking for password and passphrase
- Can you issue pull requests from the command line on GitHub?
- Git’s famous “ERROR: Permission to .git denied to user”
- Having Trouble Switching Github accounts on terminal
- github: No supported authentication methods available
- How do I get git to default to ssh and not https for new repositories
- Why are connections to GitHub over SSH throwing an error “Warning: Remote Host Identification Has Changed”?
- git clone hangs forever on github
- “Cannot spawn ssh” when connecting to Github, but ssh -T [email protected] works?
- Github (SSH) via public WIFI, port 22 blocked
- How to manage multiple ssh keys in the ~/.ssh directory
- Issue on adding SSH key to GitHub
- git clone with HTTPS or SSH remote?
- Jenkins: Failed to connect to repository
- How to specify the private SSH-key to use when executing shell command on Git?
- Git push existing repo to a new and different remote repo server?
- Clone A Private Repository (Github)
- Merge changes from remote github repository to your local repository
- github/git Checkout Returns ‘error: invalid path’ on Windows
- Git push results in fatal: protocol error: bad line length character: This
- Why doesn’t git recognize that my file has been changed, therefore git add not working
- How to commit a change with both “message” and “description” from the command line? [duplicate]
- git push heroku master says “Everything up-to-date”, but the app is not current
- Connecting one Github repository to several Aptana projects
- Change Git repository directory location.
- Creating a GitHub repository with only a subset of a local repository’s history
- Automatically Deploy From GitHub To Server On Push
- Github squash commits from web interface on pull request after review comments?
- How to integrate a GitHub wiki into the main project