Skip to content

Commit 52f94f3

Browse files
committed
Enhance: exclude .env.example from .gitignore
1 parent 8db79af commit 52f94f3

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.env.example

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# OpenAI API配置
2+
OPENAI_TOKEN=
3+
OPENAI_ENDPOINT=
4+
OPENAI_MODEL=
5+
6+
# 前端可访问的公共配置(如果需要)
7+
NEXT_PUBLIC_APP_VERSION=1.0.0
8+
9+
# 环境配置
10+
NODE_ENV=development
11+
12+
GITHUB_REPO_OWNER=
13+
GITHUB_BASE_BRANCH=
14+
GITHUB_TOKEN=
15+
GITHUB_REPO_NAME=

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ yarn-error.log*
1818

1919
# env files
2020
.env*
21+
!.env.example
2122

2223
# vercel
2324
.vercel

0 commit comments

Comments
 (0)