I have a laravel project. In the root directory are these 4 files:
.env .env.example .env.local .env.staging
I have a .gitignore file, and I'm listing these 4 files in the .gitignore, one after another, like this
.env
.env.example
.env.local
.env.staging
My git repository does not contain .env or .env.example, but it DOES contain .env.local and .env.staging. I've tried everything I can think of, but it keeps syncing these 2 files with Gitlab.
Any ideas what could be causing this?
Thanks for your help!