Jump to content

Git: Difference between revisions

299 bytes added ,  8 October 2019
no edit summary
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>