Shell/Bash: how to connect remote repo with local repo Example

By

Shell/Bash Example: This is the "how to connect remote repo with local repo" Example. compiled from many sources on the internet by SimpleTutorials.org

how to connect remote repo with local repo

git remote add origin 
git push --all origin

If you want to set all of your branches to 
automatically use this remote repo when you use git pull, add --set-upstream to the push:

git push --all --set-upstream origin


* Summary: This "how to connect remote repo with local repo" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others