When opening an issue in Gitpod, the IDE now wants to push to the wrong upstream branch #4366
Labels
priority: must have
This issue must be fixed before others - use sparingly
type: bug
Something isn't working
Milestone
Bug description
Credit: @jbicker
Steps to reproduce
origin
's default branch.Expected behavior
Instead, the commit should be pushed to a new
origin
branch, with the same name as the local "issue" branch.Example repository
No response
Anything else?
Likely a regression from #4167 which added a remote tracking branch to local issue-context branches:
gitpod/components/content-service/pkg/initializer/git.go
Lines 121 to 125 in 52a79bc
Judging from the git-checkout docs, it seems we could simply add
--no-track
to preserve the old semantics (i.e. no remote tracking branch for local issue-context branch).The text was updated successfully, but these errors were encountered: