Working on a project with lots of separate Git repos? Create a master repo, add each repo as a submodule, and git submodule foreach git checkout dev. If you’re working on a feature that spans multiple repos, simply use the same branch name for each repo. Can’t believe I didn’t think about this before.

Leave a Reply

Your email address will not be published. Required fields are marked *