I would like to ignore a file named .env.local file so it's not committed, because I have some local parameters in it and my team workers have their own local parameters in it. So we want only .env to be commited.
But the .env.local file can not be ignored by my .gitignore file :
/.env.local.php
/.env.local
/.env.*.local
while any other files in .gitignore file is correctly ignored.
 
    