Skip to content

Instantly share code, notes, and snippets.

Rajavenkateshwaran Subramanian Rajavn6789

View GitHub Profile
@thegitfather
thegitfather / vanilla-js-cheatsheet.md
Last active Jul 2, 2020
Vanilla JavaScript Quick Reference / Cheatsheet
View vanilla-js-cheatsheet.md
@rvl
rvl / git-pushing-multiple.rst
Created Feb 9, 2016
How to push to multiple git remotes at once. Useful if you keep mirrors of your repo.
View git-pushing-multiple.rst

Pushing to Multiple Git Repos

If a project has to have multiple git repos (e.g. Bitbucket and Github) then it's better that they remain in sync.

Usually this would involve pushing each branch to each repo in turn, but actually Git allows pushing to multiple repos in one go.

If in doubt about what git is doing when you run these commands, just

You can’t perform that action at this time.