Created
November 16, 2021 07:24
-
-
Save ahmedmusawir/b055a243c065aee5bf9752bc6998309d to your computer and use it in GitHub Desktop.
REMOTE GITHUB COMMANDS
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
…or create a new repository on the command line | |
echo "# vidly-modern-react" >> README.md | |
git init | |
git add README.md | |
git commit -m "first commit" | |
git branch -M main | |
git remote add origin https://github.com/ahmedmusawir/vidly-modern-react.git | |
git push -u origin main | |
…or push an existing repository from the command line | |
git remote add origin https://github.com/ahmedmusawir/vidly-modern-react.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