Skip to main content
Home Home

Join

  • Get in touch

Main navigation

  • Blog
    • Tracking changes on field level on entities
  • Team
  • Home
  • Blog
  • Drupal 8 Configuration management

Drupal 8 Configuration management

Tamer Zoubi, Drupal expert
by Tamer Zoubi
CEO & Co-founder
18 Jul 2017

Export configuration:

drush cex
 
Import configuration:
drush cim
 
IMPORTANT!
 
When working on project with other developers ALWAYS do following:

git pull
drush cim
drush cr
{...DO YOUR WORK...}
drush cex
git push (if there where commits in meantime you will have to do git pull)
 
Not following this order might delete your own or your colleagues work! Try to keep {...DO YOUR WORK...} as short as possible, having it in this state for couple of days might bring you conflict when trying to merge.
 
 
 
 
Share
Tags
configuration management
Drupal 8
drush cex
drush cim
Planet Drupal

LOOKING FOR A DIGITAL EXPERIENCE?

Looking for a digital experience built on Drupal?
Get in touch with Drupal experts!

Get in touch

Croatia

Svetice 21
10000 Zagreb
hello@ws.agency
+385 1 3445 884

USA

Atlanta
+1 404 549 5896
Home

Footer menu

  • Privacy
  • Sitemap
  • Blog
  • Careers
  • Get in touch

© 2021 Websolutions Agency. All Rights Reserved.