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.
- Create a local clone of the Custom Upstream repository using the SSH URL and change the directory into the cloned repository:
- Add the Integrated Composer upstream as a second remote and fetch:
-
Create a new
composerifybranch to work in: -
On the
composerifybranch, 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: -
Add and commit files from the Integrated Composer upstream:
-
Navigate to
composer.jsonin your text editor and change thedrupal/core-recommendedversion to the version of Drupal you are currently on:
- Commit the change: