Fix gitignore so .pio stays untracked while firmware bins remain.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-17 17:45:40 +08:00
parent 2a90649059
commit b54e36b487

5
.gitignore vendored
View File

@@ -8,9 +8,6 @@ __pycache__/
.DS_Store .DS_Store
Thumbs.db Thumbs.db
assets/ assets/
# 构建产物忽略;firmware/ 下预编译包需要入库
*.elf *.elf
.pio/**/*.bin # 构建目录里的 bin 不入库;firmware/ 预编译包要入库
!.pio/
!firmware/
!firmware/**/*.bin !firmware/**/*.bin