Answers for "how to push a git project to github"

1

push project to Github

echo "# 50Day---50Html-Css-JS-page" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin <your rep Link>
git push -u origin main
Posted by: Guest on December-29-2021
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
1

push to github

git init
git add .
git commit -m "Initial commit"
git remote add origin <project url>
git push -f origin master
Posted by: Guest on November-06-2021

Code answers related to "how to push a git project to github"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language