I have a Drupal 8 local development environment running with Docker. I can use drush (use drush cr, drush cex -y etc) after I login with ssh in docker.

  • I make some configuration changes in my Drupal admin. After that I want to export them to my config sync directory configuration/base (which is tracked by Git)
  • I use drush cex -y to export my configuration. I get the message: Configuration successfully exported to configuration/base

But after a git status I don't see any changed files? Also when I look at my yml-files in my local git repo (in configuration/base), I don't my changed configuration? But when I look in the shell (from where I also use drush), I see my changed yml-files. But there my local git repo isn't tracking those files.

So what do I have to do, after I do a drush cex -y, to get my changed exported configuration visible in my local git repo?

closed as off-topic by Pierre.Vriens, Shawn Conn, DRUPWAY, AjitS, mradcliffe Feb 12 at 16:05

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions on programming, PHP, SQL, etc. that do not relate directly to Drupal are off-topic here, but can be asked on Stack Overflow." – Pierre.Vriens, Shawn Conn, DRUPWAY, AjitS, mradcliffe
If this question can be reworded to fit the rules in the help center, please edit the question.

  • That's probably off-topic. We'ld need to see at least your docker-compose.yml. Additional info about host and helper apps would help as well. – leymannx Feb 6 at 18:42