-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitignore
More file actions
67 lines (60 loc) · 2.76 KB
/
Copy path.gitignore
File metadata and controls
67 lines (60 loc) · 2.76 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# General Ignore Rules (通用忽略規則) (ง •̀_•́)ง
# Operating System generated files (作業系統產生的檔案)
.DS_Store # macOS desktop services store
.localized # macOS localized folder names
Thumbs.db # Windows thumbnail cache
Desktop.ini # Windows desktop customization
ehthumbs.db
.Spotlight-V100 # macOS Spotlight metadata
.Trashes # macOS trash directories
._.DS_Store
*.stackdump
*.swp # Vim swap files
*.swo # Vim swap files
# IDEs and Editors (整合開發環境/編輯器) (⊙ω⊙)
.vscode/ # Visual Studio Code settings
.idea/ # IntelliJ IDEA / PhpStorm settings
.project # Eclipse project files
.classpath # Eclipse project files
.buildpath # Eclipse project files
*.sublime-workspace # Sublime Text workspace
*.sublime-project # Sublime Text project
# PHP specific ignores (PHP 特有忽略) (´▽`ʃ♡ƪ)
composer.phar # Composer executable (if downloaded locally)
composer.lock # Dependency lock file (usually committed, but can be ignored if only managing dependencies locally)
/vendor/ # Composer dependencies (critical to ignore for most projects)
.env # Environment variables (contains sensitive data)
.env.*.local
.env.local
.php_cs.cache # PHP-CS-Fixer cache
.php-cs-fixer.cache
/var/ # Common directory for logs, cache, sessions (if used)
/tmp/ # Temporary files directory
/cache/ # Cache directories (if used)
/logs/ # Log files (if used)
*.log # Any log files
*.bak # Backup files
*.orig # Original files after merges
/php_error.log # Default PHP error log (if not configured elsewhere)
session_data/ # Directory for session files (if sessions are file-based)
# XAMPP/WAMP/MAMP specific (如果你的專案在htdocs或www中,並且有產生這些) (・ω・)
# These are often generated by the web server or DB tools and should not be in Git
/xampp/ # If you accidentally include the whole XAMPP folder
/www/
/htdocs/
# Specific for your project (針對你的專案) (´∀`)♡
# 如果你的images資料夾不是你專案的一部分,而是動態產生的,可以忽略
# 但在這個專案中,images資料夾是必須的,所以通常不會忽略
# /local/images/ # If the images in this folder are not meant to be version controlled (e.g., user uploads)
# /online/images.txt # If you want to prevent changes to your image list from being committed (less common)
# Zipped archives (壓縮檔)
*.zip
*.tar
*.tar.gz
*.rar
# Backup and temporary files (備份和臨時檔案)
*~
#*#
.#*
*.bak
*.tmp