Sync a Feature(s) from Production - pulibrary/pul_library_drupal Wiki
Load the production database locally
lando drush @librarymain.prod sql-dump --result-file=/tmp/dump.sql; scp [email protected]:/tmp/dump.sql .
import the production database locally
lando drush sql-drop -y lando db-import dump.sql lando drush cc all
List all the features Look for all overridden or needs review features
git checkout -b update_features<date> lando drush fl
For each feature that has been overridden (see image above)
lando drush fd <feature machine name>
check to be certain the change is wanted
lando drush fu <feature machine name> -y git add sites/all git commit -m "Updated <feature machine name>"
Do a final feature list to be certain you have all the updates and push the branch up to github
lando drush fl git push origin update_features<date>