Answers for "how do i link a remote repository to a project in git?"

0

link an existing local git to remote repo

git remote add origin <url>
git push -u origin main
Posted by: Guest on June-18-2021
2

git connect to remote repository

git init
git commit -m "[message]"
git remote add origin "github repository link"
git push -u origin master
Posted by: Guest on August-21-2020

Code answers related to "how do i link a remote repository to a project in git?"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language