create: 改 SOTFAssist 必须先用 worktree
MemRelay-Operation: memory-save:sotfassist-worktree-rule-20261020-0316 MemRelay-Resource: 249fcd42-9dea-4f05-a495-b3354ea1ee89
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
---
|
||||
title: 改 SOTFAssist 必须先用 worktree
|
||||
type: rule
|
||||
permalink: main/projects/4eb30bec-355e-49d6-909c-e7868faef4f7/改-sotfassist-必须先用-worktree
|
||||
stable_id: 249fcd42-9dea-4f05-a495-b3354ea1ee89
|
||||
scope: project
|
||||
memory_type: rule
|
||||
project_id: 4eb30bec-355e-49d6-909c-e7868faef4f7
|
||||
usage_profile_id: 0c9feb46-d06e-43cd-9ef0-c5813c84a998
|
||||
status: active
|
||||
revision: 1
|
||||
request_id: sotfassist-worktree-rule-20261020-0316
|
||||
created_at: '2026-10-19T19:15:48.405473+00:00'
|
||||
updated_at: '2026-10-19T19:15:48.405473+00:00'
|
||||
tags:
|
||||
- git
|
||||
- worktree
|
||||
- sotfassist
|
||||
---
|
||||
|
||||
以后改 SOTFAssist 代码必须先在仓库 D:\Game\SonsOfTheForestMod\SOTFAssist 里执行 git worktree add 建功能分支,只在该 worktree 里改代码,不要直接改主目录工作区。改完提交,再合并到 main:主目录有未提交改动时不要丢掉,用合并而不是硬覆盖;保持线性历史,能 fast-forward 就 fast-forward。合并后在主目录 Release 编译 SOTFAssist.csproj,确认没问题后再删除这个 worktree 和已合并的功能分支。不要删 main。不要为此 push。
|
||||
Reference in New Issue
Block a user