Answers for "how to use git push to github"

6

how to push code to github

git init
git add README.md
git commit -m "first commit"
git branch -M master
git remote add origin 'http github link'
git push -u origin master
Posted by: Guest on April-13-2022
1

push code to github

echo "# e-commerce-crud" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/mohnishdevelops/e-commerce-crud.git
git push -u origin main
Posted by: Guest on July-23-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language