-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitignore
More file actions
33 lines (28 loc) · 1.27 KB
/
Copy path.gitignore
File metadata and controls
33 lines (28 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# General Web Development
node_modules/ # Node.js dependencies
vendor/ # PHP Composer dependencies
*.log # Log files (e.g., error.log)
*.cache # Cache files
*.tmp # Temporary files
.DS_Store # macOS system files
Thumbs.db # Windows system files
# Environment and Secrets
.env # DB credentials (e.g., MySQL for your PHP blog)
.env.local
config.php # Custom PHP config with sensitive data
# Database and Hosting
*.sql # SQL dumps from phpMyAdmin
uploads/ # User-uploaded files in your blog
public/uploads/ # Common PHP upload folder
# Build and Dependency Tools
dist/ # JS/CSS build output
build/ # Build artifacts
package-lock.json # npm lock file (optional)
# IDE and Editor Files
.vscode/ # VS Code settings
.idea/ # JetBrains IDE settings
# InfinityFree Hosting
public_html/ # Hosting folder (avoid versioning)
.htaccess.backup # Backup of .htaccess
error_log # Hosting error logs
cgi-bin/ # Default hosting folder