Status

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.

Author: Daniel Bachhuber

Proud father x2. Principal, Hand Built. Maintainer, WP-CLI.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s