This topic discusses how a contributing developer can update the Magento application without reinstalling it. To perform an upgrade if you are not a contributing developer, see Updating the Magento application and components.
To update the Magento software if you are a contributing developer:
- Log in to your Magento server as, or switch to, the Magento file system owner.
Save any changes you made to
composer.jsonbecause the following steps will overwrite it:
cp composer.json composer.json.old
Update your local repository to get the latest code:
git pull origin develop
git pull origin developfails, see troubleshooting.
- Diff and merge your
composer.jsoninstalled with the Magento software.
Enter the following command:
Update the Magento database:
Clean the cache: