git – remote add origin vs remote set-url origin
Share
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To add a new remote, use the
git remote add
command on the terminal, in the directory your repository is stored at.The
git remote set-url
command changes an existing remote repository URL.So basicly,
remote add
is to add a new one,remote set-url
is to update an existing one