Created
March 10, 2021 23:00
-
-
Save yzAlvin/74dc917d91f675d0e58cc338c8912508 to your computer and use it in GitHub Desktop.
Create new git repo on cli
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
##Initialise new repository on the command line | |
vi README.md | |
git init | |
git add README.md | |
git commit -m "Initial commit" | |
git remote add origin git@github.com:<org/user>/<reponame>.git | |
git push -u origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment