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
Fix SSH trunk branch: ensure trunk is checked out before creating branch
The previous fix used 'git checkout -b branch trunk' which failed because
after git clone from bundle, the trunk branch exists as a ref but may not
be properly resolved. This caused new branches to be created from the wrong
base.
New approach:
1. Try to checkout the branch if it already exists
2. If not found, first checkout the trunk branch explicitly
3. Then create the new branch from HEAD (which is now at trunk)
This ensures the trunk branch is properly resolved and checked out before
creating the new branch from it.
0 commit comments