点 . 是什么意思?意思是在 gitignore 中

What does the dot . mean here in the gitignore

我已经在网上和 git 网站上搜索了这个git忽略解释但找不到答案。

git忽略行 .env.development.local 中的点 . 是什么意思?

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.loc

这些文件是您文件夹中的 . 个文件。

.DS_STORE 仅存在于 Mac,与 Mac 文件夹结构有关。

不同的.env文件在不同的开发团队中根据情况使用。

环境变量更常见于 nodejs 应用程序,例如 API 必须有数据库 url 或其他东西

例如:

  • .env是主要的环境变量文件。
  • .env.development是开发环境变量文件
  • .env.local 是仅供本地使用的环境变量

以上文件只是example类型标准。我个人实际上并没有关注所有这些文件。