Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You can export config via the admin interface or by using drush.  In most cases, it is more efficient to use drush.

Exporting config changes for a Pull Request

Via the Admin InterfaceUsing Drush
1Make database changes (e.g. change permissions)
2Create a new feature branch 
git checkout -b feature-branch-name
3Visit /admin/config/development/configuration/full/export and click "Export"

drush config-export

AKA

drush cex

4Uncompress the .tar.gz file system downloaded, and copy the config to your config directorydrush already exported the files where they need to go
5If any of your changes are covered by config split, visit /admin/config/development/configuration/config-split and export the required configdrush exports config splits at the same time
6Add the config changes needed for your PR.  Do not check in changes unrelated to your feature.  i.e. 
git add permissions.yml

7commit your changes 
git commit -m "Update author permissions to enable something"

8Push your changes
git push origin feature-branch-name

9Open a pull request from your feature branch

Loading Config Changes

You'll want to import new config changes to the database when you bring down new config changes through git. To do this:

...