Last active
May 7, 2020 12:36
-
-
Save yaleksandr89/9ef410be45cbab4fa5f47238c373508e to your computer and use it in GitHub Desktop.
This file contains 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
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