From 6bb42afa279678dc39962bd5014af806727bd471 Mon Sep 17 00:00:00 2001 From: Bob Du Date: Wed, 14 Jan 2026 15:44:27 +0800 Subject: [PATCH] docs: clarify branch confirmation before commit Signed-off-by: Bob Du --- AGENTS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AGENTS.md b/AGENTS.md index badf6519..333408e3 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -47,7 +47,7 @@ ## Commit & Pull Request Guidelines - Use Conventional Commits (e.g., `feat: add user settings`). - Always work on a feature branch; do not commit directly to `main`. -- Create or switch to a feature branch before any changes (e.g., `git checkout -b feature/my-change`). +- Create or switch to a feature branch before any changes and always confirm the current branch before committing (e.g., `git checkout -b feature/my-change`). - New features target the `feature` branch; other changes target `main`. - PRs should include a clear description, link related issues, and note any UI changes with screenshots. - Commit with signed-off and signed commits: `git commit -s -S -m "feat: ..."`.