Created
December 10, 2020 06:06
-
-
Save RashneetR/12f328f3d115b4de730fdb561798364d to your computer and use it in GitHub Desktop.
create a new github repository
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 | |
touch README.md | |
git init | |
git add README.md | |
git commit -m "first commit" | |
git remote add origin https://github.com/RashneetR/project_name.git | |
git push -u origin master | |
# Push an existing repository from the command line | |
# If the repository doesn't exist on Github, first you will have to create it: https://help.github.com/articles/creating-a-new-repository/ | |
git remote add origin https://github.com/RashneetR/project_name.git | |
git push -u origin master | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment