Created
February 24, 2022 22:20
-
-
Save cobanov/73f5b8dfd07d302004ce7f43c85ccdd3 to your computer and use it in GitHub Desktop.
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 | |
echo "# test" >> README.md | |
git init | |
git add README.md | |
git commit -m "first commit" | |
git branch -M main | |
git remote add origin https://github.com/cobanov/test.git | |
git push -u origin main | |
# Push an existing repository from the command line | |
git remote add origin https://github.com/cobanov/test.git | |
git branch -M main | |
git push -u origin main |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment