aa69c0e 误将构建生成物纳入版本控制,其中编辑器 ~ 前缀临时交换 DLL 会被运行中的
Godot 锁定,导致切分支/合并时反复冲突(本次合并即因它中断)。改为:
- .gitignore 新增 gdextension/**/~* 与 gdextension/**/*.obj.import 规则;
- git rm --cached 三个生成物(保留本地文件):
bin/~libspellforge_native...dll、src/*.obj.import ×2。
保留已构建的 debug .dll(bin/libspellforge_native...dll)——按原 .gitignore 注释
「开箱即用」的既定意图,其内容稳定、不引发反复冲突。
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
28 lines
775 B
Plaintext
28 lines
775 B
Plaintext
# Godot 4+ specific ignores
|
|
.godot/
|
|
/android/
|
|
node_modules/
|
|
|
|
# --- C# / .NET (Godot Mono) ---
|
|
# 主产物在 .godot/mono/ 下(已被 .godot/ 覆盖);以下为根级兜底
|
|
/bin/
|
|
/obj/
|
|
*.user
|
|
Rogue.csproj.old
|
|
|
|
# --- C++ GDExtension 构建中间产物 ---
|
|
# 保留:源码、SConstruct、api dump、.gdextension、以及已构建的 debug .dll(开箱即用)
|
|
# 忽略:编译中间产物、导入库、编辑器 ~ 临时交换 DLL、.obj 的 .import 边车。
|
|
# godot-cpp 子模块的 gen//bin/ 由其自带 .gitignore 处理。
|
|
gdextension/**/*.obj
|
|
gdextension/**/*.os
|
|
gdextension/**/*.o
|
|
gdextension/**/*.pdb
|
|
gdextension/**/*.ilk
|
|
gdextension/**/*.exp
|
|
gdextension/**/*.lib
|
|
gdextension/**/~*
|
|
gdextension/**/*.obj.import
|
|
**/.sconsign.dblite
|
|
compile_commands.json
|