Skip to content

Instantly share code, notes, and snippets.

@yaleksandr89
Last active May 7, 2020 12:36
Show Gist options
  • Save yaleksandr89/9ef410be45cbab4fa5f47238c373508e to your computer and use it in GitHub Desktop.
Save yaleksandr89/9ef410be45cbab4fa5f47238c373508e to your computer and use it in GitHub Desktop.
Create repository
```bash
curl -u 'USER' https://api.github.com/user/repos -d '{"name":"REPO"}'
```
Add remote repo in the local project
```bash
git remote add origin git@github.com:USER/REPO.git
git push origin master
```
P.S. `USER` - your nickname, `REPO` - name creating repository
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment