.gitignore สำหรับ LemonStand
กฎการละเว้นสำหรับ LemonStand จำนวน 20 ข้อ พร้อมคัดลอกไปใช้ในคลังโค้ดของคุณ
แพลตฟอร์มอีคอมเมิร์ซ
.gitignore ที่สมบูรณ์สำหรับ LemonStand
# สร้างโดย LFGitignore - https://lfgitignore.com
# สร้าง: 2026-10-31 21:52:23 UTC
# เทคโนโลยี: LemonStand
### LemonStand ###
boot.php
index.php
install.php
/config/*
!/config/config.php
/controllers/*
/init/*
/logs/*
/phproad/*
/temp/*
/uploaded/*
/installer_files/*
/modules/backend/*
/modules/blog/*
/modules/cms/*
/modules/core/*
/modules/session/*
/modules/shop/*
/modules/system/*
/modules/users/*
สิ่งที่กฎ LemonStand เหล่านี้มองข้ามไปจริงๆ
ทุกรูปแบบด้านล่าง และทำไมมันถึงอยู่ใน .gitignore ของคุณ
ทั่วไป
| รูปแบบ | สิ่งที่กฎนี้ละเว้น |
|---|---|
boot.php |
ทั่วไป |
index.php |
ทั่วไป |
install.php |
ทั่วไป |
/config/* |
ทั่วไป |
!/config/config.php |
ทั่วไป |
/controllers/* |
ทั่วไป |
/init/* |
ทั่วไป |
/logs/* |
ทั่วไป |
/phproad/* |
ทั่วไป |
/temp/* |
ทั่วไป |
/uploaded/* |
ทั่วไป |
/installer_files/* |
ทั่วไป |
/modules/backend/* |
ทั่วไป |
/modules/blog/* |
ทั่วไป |
/modules/cms/* |
ทั่วไป |
/modules/core/* |
ทั่วไป |
/modules/session/* |
ทั่วไป |
/modules/shop/* |
ทั่วไป |
/modules/system/* |
ทั่วไป |
/modules/users/* |
ทั่วไป |
วิธีใช้ .gitignore นี้สำหรับ LemonStand
- คัดลอกกฎ LemonStand ด้านบน หรือดาวน์โหลดไฟล์โดยตรง
- สร้างไฟล์ชื่อ .gitignore ที่รากของที่เก็บ Git ของคุณ และวางกฎลงไป
- หาก Git ติดตามไฟล์เหล่านั้นอยู่แล้ว ให้เรียกใช้ git rm -r --cached . แล้วคอมมิตอีกครั้ง เพราะกฎการละเว้นของ Git มีผลเฉพาะกับไฟล์ที่ยังไม่ได้ติดตาม
- คอมมิตไฟล์ .gitignore เพื่อให้ทุกคนในทีมใช้กฎเดียวกัน