[Bug] Git reference resolves to local main instead of origin/main after fetch
Open 💬 0 comments Opened Jul 3, 2026 by dumplogic-david
Bug Description
Keeps checking local main branch as a reference instead of origin/main after fetching. Very n00b behavior. In auto mode, it will branch after I specifically asked it not to because it looks at an outdated local main and compares the current branch to it and says "Oh no, this branch is 300 commits ahead of main, so we can't possibly use it for a PR."
Need to put into the git training rules: Never use a local default branch as a reference to check whether a branch can be used as a PR.
Environment Info
- Platform: darwin
- Terminal: vscode
- Version: 2.1.199
- Feedback ID: de5572ba-b2e0-45ed-8755-e75e95ffb8dd
Errors
[]