So im currently working on a project and my my .env file is not greyed out (gitignore?). Trying to figure out what I need to do globally because I do have the file but my .env is never greyed out. Any suggestions? I can provide screenshots if needed.
I had someone do a a few commands in the terminal and was able to get my .env to go grey once. But I believe he told me he wasn't able to do it globally.
Reach out for help.
First, make sure your
.envis not already tracked (or any amount of.gitignoreorcore.excludesFilewould not change anything)Then check if it is currently ignored with: