Skip to main content
Last Reviewed: 2022-12-12

Create a New Branch with Integrated Composer Code


The first step in the migration process is to create a new branch with Integrated Composer.

  1. Create a local clone of the Custom Upstream repository using the SSH URL and change the directory into the cloned repository:
  1. Add the Integrated Composer upstream as a second remote and fetch:
  1. Create a new composerify branch to work in:

  2. On the composerify branch, use Git to remove all the files in the directory and commit the change. This is because you are going to completely replace the file structure and re-add customizations:

  3. Add and commit files from the Integrated Composer upstream:

  4. Navigate to composer.json in your text editor and change the drupal/core-recommended version to the version of Drupal you are currently on:

  1. Commit the change: