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(git): fix branch switching and upstream tracking on new branches
- Push new branches with upstream tracking after creation to avoid detached state
- Fetch specific branch refs before checkout to ensure up-to-date remote info
- Add checks to avoid reset errors when remote branch is missing or inaccessible
- Improve branch reset logic to handle missing remote refs gracefully and continue local checkout
0 commit comments