Created
January 14, 2019 16:30
-
-
Save stasgm/5278ab708211d521eb28de4a158f64e8 to your computer and use it in GitHub Desktop.
git
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 a new repository on the command line | |
echo "# html-test" >> README.md | |
git init | |
git add README.md | |
git commit -m "first commit" | |
git remote add origin https://github.com/stasgm/html-test.git | |
git push -u origin master | |
###push an existing repository from the command line | |
git remote add origin https://github.com/stasgm/html-test.git | |
git push -u origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment