Commit fd98c61
committed
Fix SSH trunk branch: use origin/ prefix for remote tracking branches
After git clone from bundle, branches exist as remote tracking branches
(origin/*), not as local branches. When creating a new branch from trunk,
we need to reference it as 'origin/trunkBranch' to properly resolve the ref.
Updated checkout command to try:
1. Checkout branch if it exists locally
2. Create from origin/trunkBranch (remote tracking branch)
3. Fallback to trunkBranch (local branch, shouldn't be needed)
This ensures the trunk branch ref is properly resolved after git clone.1 parent 94d934a commit fd98c61
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
688 | 688 | | |
689 | 689 | | |
690 | 690 | | |
691 | | - | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
692 | 694 | | |
693 | | - | |
| 695 | + | |
694 | 696 | | |
695 | 697 | | |
696 | 698 | | |
| |||
0 commit comments