Files
MemRelay/projects/6c416e40-2d22-44e5-868c-d38ddb807e01/Checkpoint 2026-10-20 10-17-03 UTC [8a34ea5161].md
T
memrelay 0b8fde8162 create: Checkpoint 2026-10-20 10:17:03 UTC [8a34ea5161]
MemRelay-Operation: checkpoint-save:m4a1-merge-checkpoint-20261020-1816
MemRelay-Resource: b674570e-6881-4dc6-92b9-c1b2aaa4e457
2026-10-20 18:17:06 +08:00

35 lines
2.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: Checkpoint 2026-10-20 10:17:03 UTC [8a34ea5161]
type: checkpoint
permalink: main/projects/6c416e40-2d22-44e5-868c-d38ddb807e01/checkpoint-2026-10-20-10-17-03-utc-8a34ea5161
stable_id: b674570e-6881-4dc6-92b9-c1b2aaa4e457
scope: project
memory_type: checkpoint
project_id: 6c416e40-2d22-44e5-868c-d38ddb807e01
usage_profile_id: 0c9feb46-d06e-43cd-9ef0-c5813c84a998
status: active
revision: 1
request_id: m4a1-merge-checkpoint-20261020-1816
created_at: '2026-10-20T10:17:03.472934+00:00'
updated_at: '2026-10-20T10:17:03.472934+00:00'
tags:
- m4a1
- merge
- handoff
---
完成:M4A1 独立仓库 main 已合入 dlc/m4a1-assets 与 dlc/m4a1-mod。
原因:两条分支都已完成且工作区干净,用户要求合进该仓库自己的 main,不 push,不装入游戏,不改上级仓库。
关键实现:主目录本来就在 main(9648ef6),未被其他工作树占用。先 git merge --ff-only dlc/m4a1-assets,再 git merge --no-ff -m "feat: 合并 M4A1 模型与内容包" dlc/m4a1-mod。第二次不能 fast-forward,生成普通合并提交。无冲突。.gitignore 同时忽略 .worktrees/、bin/、obj/、*.rar。
结果:HEAD 6f8863accf642c68c9e95785fbdf4a7c16d36a6b,父提交 9a99a9acb39c2eb087c0bedc598b751342f19c2d 与 023bd3b63a842735913eceddc77673a017022be8。main 上有 Content/M4A1.fbx、Content/metal_color1.png、Content/metal_color2.png、M4A1.csproj、M4A1Balance.cs、M4A1Gun.cs、M4A1Items.cs、M4A1Mod.cs、M4A1Model.cs、manifest.json、CREDITS.txt,以及 source 下的 blend/fbx/贴图。
验证:dotnet build M4A1.csproj -c Release 成功,0 警告 0 错误,产物 D:\Game\SonsOfTheForestMod\DLC\M4A1\bin\Release\M4A1.dll(15872 字节)。git check-ignore 确认该 DLL 被 bin/ 忽略,工作区干净。编译前后在游戏目录递归搜索 M4A1.dll 均无结果,Mods 下也没有名称含 M4A1 的条目。工作树 .worktrees/assets 与 .worktrees/mod 仍在。无远端,未 push。
问题:无冲突,无编译失败。
下一步:未装入游戏。若要进游戏验证,需用户明确授权后再复制到 Mods。仓库没有远端,不要擅自创建远端或 push。
给下个会话:主目录已在 main 6f8863a。不要删 .worktrees。不要用 --force,不要改 git config。不要把编译产物或模型复制进游戏目录。不要在上级仓库 D:\Game\SonsOfTheForestMod 执行会改写其 Git 的命令。M4A1.csproj 的 GameDir 只用于引用游戏 DLL,当前没有把产物复制到 Mods 的目标。