Created
September 7, 2018 20:21
-
-
Save bdombro/d743562c389527cd53df0aca0e4cbcea to your computer and use it in GitHub Desktop.
Git Change Origin URL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd existing_repo | |
git remote rename origin old-origin | |
git remote add origin git@gitlab.com:bdombro/test.git | |
git push -u origin --all | |
git push -u origin --tags |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment