Push git branches and tags from one remote to another

Here's how to push branches from one git remote to another. Use the command below, replacing remote1 and remote2 with the name of the remotes that you want to push and pull from.

git push remote1 refs/remotes/remote2/*:refs/heads/*
git push remote2 --tags

Internal References

Article Type