Skip to content

Instantly share code, notes, and snippets.

View Rajavn6789's full-sized avatar
🏠
Working from home

Rajavenkateshwaran Rajavn6789

🏠
Working from home
  • Bengaluru, India
View GitHub Profile
@Rajavn6789
Rajavn6789 / git-pushing-multiple.rst
Created May 22, 2020 10:13 — forked from rvl/git-pushing-multiple.rst
How to push to multiple git remotes at once. Useful if you keep mirrors of your repo.

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

@Rajavn6789
Rajavn6789 / vanilla-js-cheatsheet.md
Created May 22, 2020 10:12 — forked from thegitfather/vanilla-js-cheatsheet.md
Vanilla JavaScript Quick Reference / Cheatsheet