- Open the terminal app (or the terminal in VS Code) and change to the root site directory of the site you are updating
- Switch to the main branch and fetch the latest changes
git checkout master git fetch --all git pull
- Create a new branch from the main branch for the Drupal core update
git checkout -b update/core-[version]
Updating Drupal 7 can be a challenging task. As a developer, using a version control system, like Git, helps me keep my sanity and also leverage it by creating and applying the patches rather than manually removing/adding files. This greatly helps especially if you're managing multiple Drupal 7 sites.
Drupal 7 patch files
Download one of the patch files below to update your Drupal 7 core from one version to the next.