We have a DRUSH CEX set under config/sync folder. Our 2 developer are working on the same project. Now here's the situation
- Dev 1 ran
drush cex
and his config was exported - Dev 2 had a few changes in the CMS but didn't run
drush cex
- Dev 1 push his config export to git repository
- Dev 2 pulled the changes from the git
- Dev 2 tried running
drush cim
but it won't let him because it will overwrite whatever he have in the local and it will be lost. - Dev 2 tried to backup the config by running
drush cex
but it will then override whatever is in the GIT REPOSITORY. Meaning changes of Dev 1 will be overwritten by Dev 2 changes.
Now question is how can we go around this? We want both dev to have all their changes committed at the same time imported to the cms. But we can't fix this.
Can anyone please help us on the proper work flow of drush please