Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix get default branch failed when Git has not set trace branch #60

Merged
merged 1 commit into from
Oct 19, 2023

Conversation

kayw-geek
Copy link
Collaborator

This pull request solved get the default branch failed when Git's tracking branch has not been explicitly set.

Prior to this fix, the method getDefaultBranch() would fail in instances where a tracking branch was not properly setup in Git, and as a result, retrieving the default branch would not be possible.

Now, I will execute the command that git remote set-head origin -a to set the tracking branch to avoid the error reproduced

@kayw-geek kayw-geek enabled auto-merge (squash) October 19, 2023 06:53
@kayw-geek kayw-geek force-pushed the bugfix/fix-no-trace-branch branch from 6086a21 to d748fc9 Compare October 19, 2023 07:09
@kayw-geek kayw-geek merged commit 30e6afb into symplify:main Oct 19, 2023
kayw-geek added a commit that referenced this pull request Oct 19, 2023
kayw-geek added a commit that referenced this pull request Oct 19, 2023
kayw-geek added a commit to kayw-geek/monorepo-builder that referenced this pull request Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant