It’s not a good practice to have environment files specific to a developer.
Sure he can do it in a separate branch but no .env file should be created.

What each developer can do is replace the contents of .env.dev file to test anything different than the dev env

Software Engineer | https://www.mohammadfaisal.dev/

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store