📜  git ignore .env 文件不起作用 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:11.733000             🧑  作者: Mango

代码示例1
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"