Remove large files and build artifacts from Git tracking
- Remove build/ and dist/ directories (>500MB total) - Remove large log files (log.log, log_dms*.txt, etc.) - Remove binary files (history_local, mvp.zip, 归档.zip) - Remove Python compiled files (*.pyc) - Remove database files (*.db) - Remove system files (.DS_Store) - Update .gitignore to prevent future tracking of these files This reduces repository size significantly and follows best practices for version control by excluding generated/temporary files.
This commit is contained in:
+51
-1
@@ -4,6 +4,9 @@
|
||||
./memory-bank
|
||||
./logs
|
||||
./build
|
||||
# 构建和分发目录
|
||||
build/
|
||||
dist/
|
||||
log*
|
||||
|
||||
# Python相关
|
||||
@@ -144,4 +147,51 @@ __pypackages__/
|
||||
# mypy
|
||||
.mypy_cache/
|
||||
.dmypy.json
|
||||
dmypy.json
|
||||
dmypy.json
|
||||
# 大文件和构建产物
|
||||
build/
|
||||
dist/
|
||||
*.zip
|
||||
*.tar.gz
|
||||
*.rar
|
||||
*.7z
|
||||
|
||||
# 日志文件
|
||||
*.log
|
||||
*.log.*
|
||||
dms.log
|
||||
post_output.log
|
||||
|
||||
# 数据库文件
|
||||
*.db
|
||||
*.sqlite
|
||||
*.sqlite3
|
||||
users.db
|
||||
|
||||
# Python编译文件
|
||||
*.pyc
|
||||
*.pyo
|
||||
__pycache__/
|
||||
|
||||
# 系统文件
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
|
||||
# 临时文件
|
||||
*.tmp
|
||||
*.temp
|
||||
*~
|
||||
|
||||
# 大的字体文件(如果不需要版本控制)
|
||||
# assets/fonts/*.ttc
|
||||
# assets/fonts/*.otf
|
||||
|
||||
# 二进制文件
|
||||
*.bin
|
||||
*.exe
|
||||
*.pkg
|
||||
|
||||
# 历史文件
|
||||
history_local
|
||||
mvp.zip
|
||||
归档.zip
|
||||
|
||||
Reference in New Issue
Block a user