Answers for "push to remote add"

19

add remote origin git

$ git remote add origin https://github.com/user/repo.git
# Set a new remote

$ git remote -v
# Verify new remote
> origin  https://github.com/user/repo.git (fetch)
> origin  https://github.com/user/repo.git (push)
Posted by: Guest on April-22-2020
1

git push remote

git push -u origin master // where 'master' is branch name
Posted by: Guest on March-18-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language