Skip to content

docs(agents): add git fetch before worktree creation#102

Merged
krokoko merged 1 commit into
mainfrom
docs/worktree-fetch-instruction
May 15, 2026
Merged

docs(agents): add git fetch before worktree creation#102
krokoko merged 1 commit into
mainfrom
docs/worktree-fetch-instruction

Conversation

@scottschreckengaust
Copy link
Copy Markdown
Contributor

Summary

  • Adds git fetch origin main instruction to the Git worktrees bullet in AGENTS.md
  • Prevents worktrees from being created off stale local refs

One-line change. No code impact.

🤖 Generated with Claude Code

Ensures new worktrees branch from the latest remote main rather than
a potentially stale local ref. This prevents PRs from being based on
outdated commits.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@scottschreckengaust scottschreckengaust requested a review from a team as a code owner May 15, 2026 19:33
@krokoko krokoko added this pull request to the merge queue May 15, 2026
Merged via the queue into main with commit 47caaf9 May 15, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants