git is not respecting gitignore instruction to ignore .env files
Use git rm: If you have already added the files to be tracked, you need to remove them from tracking: git rm env.local –cached git rm env.staging –cached git commit -m “Stopped tracking env.local, and env.staging” Now you should be able to clone your branch without those files being tracked. Note: Keep in mind that … Read more