nchammas opened a new pull request, #58207: URL: https://github.com/apache/spark/pull/58207
### What changes were proposed in this pull request? Specify to agents that new worktrees should be based on `origin`, not `upstream`. ### Why are the changes needed? I just pushed https://github.com/apache/spark/commit/3731453175d31125a8765f61d5df2e5936ffb28d directly to `master` from a new worktree. It was a mistake and I was surprised by it. The worktree was somehow configured to push directly to `upstream/master`. I believe this happened because I let an agent (for the first time) create the worktree for me and it followed some potentially misleading instructions in our AGENTS file. I will personally avoid using agents to create worktrees going forward, but to help prevent this from happening to others, I've tweaked the wording of the worktree instructions. More background here: https://github.com/apache/spark/pull/58136#issuecomment-5371893133 ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? I will try creating a new worktree (without committing or pushing anywhere, of course) and inspect the setup. I will report back here. ### Was this patch authored or co-authored using generative AI tooling? No. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
