Skip to main content
All CollectionsUsing PerforceGetting Started
How to utilize branching and merging on your P4 depot
How to utilize branching and merging on your P4 depot

Merging two branches created in Perforce using Assembla

Erika Kuntar avatar
Written by Erika Kuntar
Updated today

A crucial step in development is the ability to compare changes and review code as a team. Perforce makes this easy with multiple streams to branch the code you are working on, allowing you to easily compare and merge your branches into your main code.

To create a new stream in P4V, access your File menu, and then select New > Stream. This step opens a dialog box containing options for customization. Simply label your desired stream name and select your Parent stream. The stream name is identified as a branch in the Assembla interface.

After clicking OK, you will now have a branched depot on your new stream. You can add and make changes to your files in your new workspace folder in Perforce.
​ 

Now that you have some code written on your new stream, it's time to review your changes with your team and request to merge your stream with your main stream. In Assembla, create a new merge request.

Review your changes with your team.

When approved, click Merge and your merge is complete.



Need help? Please contact us at support@assembla.com 

Did this answer your question?