Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

git ignore .env files not working

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"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #ignore #files #working
ADD COMMENT
Topic
Name
2+8 =