Stop tracking secrets, junk, and template duplicates; extend .gitignore
- untrack ransomeware note, plaintext-password compose, contracts and farm accounting - untrack 249 OS/browser artifacts (desktop.ini, *.download, *.url, *.tmp, *.zip) - untrack unused template copies and saved web pages (---/, start Bootstrap/, freelancer, แรงบันดาลใจ/, home page/) - .gitignore now documents what must stay tracked (source, data, icons, formula documents) Files remain in the working tree; only the index changed.
This commit is contained in:
1 parent
dd65e9061f
commit
22c28f0708
609 files changed
+91
-92918
No files matched your search
+91
-19
@@ -1,35 +1,107 @@
|
||||
# ---------- ความลับ / ไฟล์ส่วนตัว (ห้ามขึ้น remote) ----------
|
||||
# ข้อความเรียกค่าไถ่ (ransomware note) — ไม่ใช่ไฟล์โปรเจกต์
|
||||
# =====================================================================
|
||||
# .gitignore — hydraucal / farm-planning
|
||||
# หลักคิด: repo นี้เป็น PUBLIC → ไฟล์ส่วนตัว/ความลับต้องไม่ขึ้นไปเด็ดขาด
|
||||
# ส่วนของที่ "ใช้จริง" (ซอร์ส, data, ไอคอน, เอกสารวิธีคำนวณ) เก็บไว้
|
||||
# หมายเหตุ: ไฟล์ที่เคย commit ไปแล้ว .gitignore ไม่มีผล — ต้อง `git rm --cached`
|
||||
# =====================================================================
|
||||
|
||||
# ---------- 1) ความลับ / ไฟล์ส่วนตัว ----------
|
||||
# ข้อความเรียกค่าไถ่ (ransomware note) พร้อมอีเมลผู้โจมตี — ไม่ใช่ไฟล์โปรเจกต์
|
||||
_readme.txt
|
||||
# สัญญาจ้าง / เอกสารการเงินส่วนตัว
|
||||
# ค่าตั้งที่มีรหัสฐานข้อมูล (คัดลอกจาก .env.example แล้วใส่ค่าเอง)
|
||||
service/.env
|
||||
*.env
|
||||
!*.env.example
|
||||
# เอกสารสัญญา/การเงินส่วนตัว
|
||||
สัญญาจ้างทำของ.docx
|
||||
สัญญาจ้างทำของ.pdf
|
||||
การบริหารรายได้.docx
|
||||
บัญชีกิจการ farm-planning/
|
||||
หลักฐานการโอนเงิน/
|
||||
หลักฐานสมัคร Affiliate/
|
||||
หลักฐาน*/
|
||||
# compose ทดลองที่มีรหัสผ่าน plaintext
|
||||
PWA-fam-plans/v.3.8.yaml
|
||||
# ค่าตั้งที่มีรหัสฐานข้อมูล
|
||||
service/.env
|
||||
*.env
|
||||
!*.env.example
|
||||
# ความลับรูปแบบอื่นที่อาจหลุดเข้ามาในอนาคต
|
||||
*.pem
|
||||
*.key
|
||||
*.pfx
|
||||
*.p12
|
||||
id_rsa*
|
||||
id_ed25519*
|
||||
*.kdbx
|
||||
.npmrc
|
||||
.pypirc
|
||||
netrc
|
||||
.netrc
|
||||
|
||||
# ---------- ขยะ Windows / ไฟล์ชั่วคราว ----------
|
||||
# ---------- 2) ขยะของ OS / ไฟล์ชั่วคราว ----------
|
||||
desktop.ini
|
||||
Thumbs.db
|
||||
ehthumbs.db
|
||||
.DS_Store
|
||||
*.tmp
|
||||
~WRL*.tmp
|
||||
~$*.docx
|
||||
~$*.xlsx
|
||||
~$*.pptx
|
||||
*~
|
||||
*.url
|
||||
*.zip
|
||||
|
||||
# ---------- สำเนาเทมเพลต / หน้าระบบอื่นที่เซฟไว้ (~48 MB) ----------
|
||||
แรงบันดาลใจ/
|
||||
start Bootstrap/
|
||||
startbootstrap-freelancer-gh-pages.zip
|
||||
---/
|
||||
|
||||
# ---------- ระหว่างพัฒนา ----------
|
||||
*.bak
|
||||
*.orig
|
||||
*.rej
|
||||
*.log
|
||||
.DS_Store
|
||||
*.swp
|
||||
*.swo
|
||||
*.stackdump
|
||||
|
||||
# ---------- 3) ไฟล์ที่เบราว์เซอร์/โปรแกรมโหลดมา (155 ไฟล์ ไม่ใช่ซอร์ส) ----------
|
||||
*.download
|
||||
*.url
|
||||
*.lnk
|
||||
*.zip
|
||||
*.7z
|
||||
*.rar
|
||||
|
||||
# ---------- 4) สำเนาเทมเพลต / ของที่ไม่ได้ใช้ในแอป (กิน ~51 MB) ----------
|
||||
---/
|
||||
start Bootstrap/
|
||||
startbootstrap-freelancer-gh-pages/
|
||||
startbootstrap-freelancer-gh-pages - Copy/
|
||||
startbootstrap-freelancer-gh-pages.zip
|
||||
# หน้าเว็บที่เซฟไว้เป็นแรงบันดาลใจ (~48 MB)
|
||||
แรงบันดาลใจ/
|
||||
# หน้า "hello world" ที่ไม่ได้ใช้
|
||||
home page/
|
||||
|
||||
# ---------- 5) dependency / build / ฐานข้อมูลในเครื่อง ----------
|
||||
node_modules/
|
||||
.venv/
|
||||
venv/
|
||||
__pycache__/
|
||||
*.pyc
|
||||
*.pyo
|
||||
.julia/
|
||||
*.sqlite
|
||||
*.sqlite3
|
||||
*.db
|
||||
*.dump
|
||||
*.sql.gz
|
||||
dist/
|
||||
build/
|
||||
.cache/
|
||||
|
||||
# ---------- 6) เครื่องมือแก้ไข ----------
|
||||
.vscode/
|
||||
.idea/
|
||||
*.sublime-workspace
|
||||
.hermes/
|
||||
|
||||
# =====================================================================
|
||||
# ไฟล์ที่ "ต้องเก็บ" (อย่าเพิ่มกฎไป ignore สิ่งเหล่านี้)
|
||||
# index.html · app/ · partials/ · core/ · assets/ · css/ · sw.js · manifest.json
|
||||
# service/src · service/db · service/openapi.yaml · service/Project.toml · service/Manifest.toml
|
||||
# data/ · open data/ · tests/ · tools/ · scripts/ · archive/
|
||||
# coding/ (ซอร์ส + vendor ที่เว็บใช้จริง) · flat icon/ · logo/ · image ประกอบ/
|
||||
# Document/ (เอกสารวิธีคำนวณที่เครื่องคำนวณต้องอ้างอิง) · PWA-fam-plans/{dockerfile,nginx}
|
||||
# AGENTS.md · DESIGN.md · SYSTEM-DESIGN.md · service/README.md
|
||||
# =====================================================================
|
||||
Reference in new issue
Block a user