Skip to content

Instantly share code, notes, and snippets.

@moki9
Last active June 6, 2018 16:43
Show Gist options
  • Save moki9/c982c35e1012342db852223948ddf64a to your computer and use it in GitHub Desktop.
Save moki9/c982c35e1012342db852223948ddf64a to your computer and use it in GitHub Desktop.
Push all changes from one remote to another
git push <target-remote> 'refs/remotes/<source-remote>/*:refs/heads/*'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment