Whenever I change something locally (Mac) in Craft (running in Nitro) which modifies my project-config, GIT (in PhpStorm) shows me many more changes in the change-list than necessary: Files are actually identical except for line breaks.

How can this be avoided?

1 Answer 1


What helped me was changing the way GIT treats CRLF with this command:

git config --global core.autocrlf input

After running this command only real changes were tracked anymore.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.