From ceaeafd96cdc895fd82a392a5ea325f2897dd54c Mon Sep 17 00:00:00 2001 From: Huxley Date: Tue, 14 Jul 2026 17:42:56 +0800 Subject: [PATCH] docs: document worktree branch convention in AGENTS.md --- AGENTS.md | 1 + 1 file changed, 1 insertion(+) diff --git a/AGENTS.md b/AGENTS.md index 901c008..93f291c 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -95,6 +95,7 @@ npm run check # lint, type-check, and build ## Git Version Control +- When using a worktree, create a new branch and place its worktree in `.worktree/`, naming safely (for example, `git worktree add -b feat/partly-upload .worktree/feat-partly-upload`). - DON'T create a commit unless the user explicitly asks for one. - Before any commit, verify the work with the required project checks. For code changes, run the checks for every affected project; for docs-only changes, run the most relevant non-mutating checks if available. - Create a commit only when all required checks pass and the current implementation area has no unresolved issues.