chore: Ignore runtime files

This commit is contained in:
HostForge
2026-04-14 13:37:17 +08:00
parent 3f9d7bdc95
commit c0b7611238
2 changed files with 28 additions and 0 deletions

27
.gitignore vendored Normal file
View File

@@ -0,0 +1,27 @@
# =========================
# IDE / OS
# =========================
.idea/
.vscode/
.DS_Store
# =========================
# HostForge Runtime Storage
# =========================
files/
# =========================
# WordPress Runtime
# =========================
# Ignore contents of uploads
code/wp-content/uploads/*
# BUT keep the uploads symlink itself
!code/wp-content/uploads
# =========================
# Logs / Temp
# =========================
*.log
tmp/

1
code/wp-content/uploads Symbolic link
View File

@@ -0,0 +1 @@
../../files/uploads