Answers for "how to push to a repo"

0

how to push a file to github

git remote add origin 'your_url_name'

git push -u origin master
Posted by: Guest on December-31-2020
0

pushing an existing rep from command line to github repo

git remote add origin https://github.com/Mo-Aziz/React-shopping-cart.git
git branch -M main
git push -u origin main
Posted by: Guest on May-26-2021
0

push to existing repo github

$ git push -u origin main
# Pushes the changes in your local repository up to the remote repository you specified as the origin
Posted by: Guest on July-08-2021

Browse Popular Code Answers by Language