Skip to content

Instantly share code, notes, and snippets.

@lablnet
Last active July 24, 2023 01:58
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lablnet/e6441c7e357d14337583770e0eedafca to your computer and use it in GitHub Desktop.
Save lablnet/e6441c7e357d14337583770e0eedafca to your computer and use it in GitHub Desktop.
Add multiple origin url into one repo.

Instruction

  1. Consider you have already one origin url which you added by git remote add origin $url
  2. Now other URL you will add like that, git remote set-url --add origin $url

That's all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment