How to use branches

You only need a branch when you’re making changes that will take longer than one publish cycle to build. You need to deploy all the changes at the same time. To avoid your commits from your half-completed change getting published from trunk in the regular deployments, use a branch.

As soon as you have a feature than can be deployed, you must merge back to trunk.

You must also regularly merge from trunk to the branch so your branch doesn’t get out of sync.

 

Advertisement

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 )

Connecting to %s


Follow

Get every new post delivered to your Inbox.