You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: The Git action treats the default branch as a feature branch when the only remote is not named origin #35064
Add the folder as a project in T3 Code and open a new thread in it.
Look at the Git action in the thread details panel, then click it.
Expected behavior
T3 Code knows trunk is the default branch, as it does when the same remote is named origin: the button reads "Commit & push" and clicking it asks "Commit & push to default ref?" before committing.
Actual behavior
The button reads "Commit, push & PR" on trunk. Clicking it shows no prompt and fails with "Action failed: Git manager failed in runStackedAction: trunk is the base branch. Check out a feature branch to create a change request." Nothing is committed. A repository set up the same way with the remote named origin shows "Commit & push" and the default-branch prompt.
Fixed by #28815, now on main: With github as the only remote and github/HEAD pointing to trunk, opening a thread on trunk now offers “Commit & push” and asks for default-branch confirmation instead of offering “Commit, push & PR” and failing.
Activity
juliusmarminge commentedon Nov 12, 2026
Fixed by #28815, now on main: With github as the only remote and github/HEAD pointing to trunk, opening a thread on trunk now offers “Commit & push” and asks for default-branch confirmation instead of offering “Commit, push & PR” and failing.