chore: 添加数据库文件到 gitignore 并清理已提交的数据库
- 在 .gitignore 中添加 data.db 以排除数据库文件 - 删除之前提交的 backend/data.db 文件 - 防止包含敏感数据的数据库文件被意外提交到版本控制中
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -28,6 +28,9 @@ $RECYCLE.BIN/
|
||||
# If you prefer the allow list template instead of the deny list, see community template:
|
||||
# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore
|
||||
#
|
||||
# Database
|
||||
data.db
|
||||
|
||||
# Binaries for programs and plugins
|
||||
*.exe
|
||||
*.exe~
|
||||
|
||||
BIN
backend/data.db
BIN
backend/data.db
Binary file not shown.
Reference in New Issue
Block a user