Skip to content

Instantly share code, notes, and snippets.

@lukesUbuntu
Last active December 1, 2019 19:37
Show Gist options
  • Save lukesUbuntu/2c286dbd6bce3b33c3d997e3cd53bf84 to your computer and use it in GitHub Desktop.
Save lukesUbuntu/2c286dbd6bce3b33c3d997e3cd53bf84 to your computer and use it in GitHub Desktop.
# add another repo to push to all
git remote add all git://original/repo.git
git remote set-url --add --push all git://original/repo.git
git remote set-url --add --push all git://mirror-second/repo.git
git push all
# add to origin
git remote set-url --add --push origin git://original/repo.git
git remote set-url --add --push origin git://mirror-second/repo.git
git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment