Update .gitignore to prevent overwriting server data files by adding a rule for the server/data directory and including a .gitkeep file for tracking. This change enhances project structure and data management.
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -148,3 +148,7 @@ Thumbs.db
|
||||
# server/data/sessions.json - uncomment for production
|
||||
public/uploads
|
||||
public/uploads/*
|
||||
|
||||
# Server data files (all data files to prevent overwriting)
|
||||
server/data/
|
||||
!server/data/.gitkeep
|
||||
|
||||
Reference in New Issue
Block a user