5,332
edits
No edit summary |
No edit summary |
||
Line 39: | Line 39: | ||
git push --all <new_repo> | git push --all <new_repo> | ||
</syntaxhighlight> | |||
===Changing Remote URL=== | |||
[https://help.github.com/en/articles/changing-a-remotes-url Reference]<br> | |||
You will need to change the remote url if it is changed on the server. E.g. if you change the project name.<br> | |||
<syntaxhighlight lang="bash"> | |||
git remote set-url origin <new-url> | |||
</syntaxhighlight> | </syntaxhighlight> | ||