From a9920c47fbbb25f696e7c26266eefd39c997150a Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Sat, 17 Oct 2026 14:05:33 +0800 Subject: [PATCH] docs(agents): create forks with only the default branch --- agents/global-rules.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/agents/global-rules.md b/agents/global-rules.md index b962c743..3f548a80 100644 --- a/agents/global-rules.md +++ b/agents/global-rules.md @@ -141,6 +141,8 @@ For an impactful change, follow these steps in order, scaled to its risk: - Agents MUST NOT skip hooks without authorization. - Agents MAY amend, rebase, or squash their own unpushed commits; pushed commits and others' commits need authorization. +- Create forks with only the default branch (`gh repo fork --default-branch-only`); the task adds + its own development branch. ## Environment and shell