Skip to content

Instantly share code, notes, and snippets.

@bdombro
Created September 7, 2018 20:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bdombro/d743562c389527cd53df0aca0e4cbcea to your computer and use it in GitHub Desktop.
Save bdombro/d743562c389527cd53df0aca0e4cbcea to your computer and use it in GitHub Desktop.
Git Change Origin URL
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