Track .env files in git for personal deployment sync.
Allow VITE_AMAP_KEY and related config to follow the repo; only .env.local remains ignored. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+4
-4
@@ -7,10 +7,10 @@ dist-ssr/
|
||||
build/
|
||||
*.tsbuildinfo
|
||||
|
||||
# ── 环境变量(含密钥,勿提交)──────────────────────
|
||||
.env
|
||||
.env.*
|
||||
!.env.example
|
||||
# ── 环境变量 ───────────────────────────────────────
|
||||
# 个人项目:.env 随仓库同步;仅忽略本地临时覆盖
|
||||
.env.local
|
||||
.env*.local
|
||||
|
||||
# ── 日志 ──────────────────────────────────────────
|
||||
logs/
|
||||
|
||||
Reference in New Issue
Block a user