Created
February 15, 2020 07:17
-
-
Save mohapatras/f2f9b361792f9841c07bd738ae091691 to your computer and use it in GitHub Desktop.
Push local data to github using git.
This file contains hidden or 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/mohapatras/python.git | |
git push -u origin master | |
# Push an existing repository from the command line | |
# Create a repo at github website | |
git remote add origin https://github.com/mohapatras/python.git | |
git push -u origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment