Failed to get the default branch when the default branch is `main`(TagVersionReleaseWorker::getDefaultBranch)
guanguans opened this issue · comments
guanguans commented
Kay W. commented
This may be because your remote repository origin
has not yet defined the default branch.
Run git remote show origin
to check your remote repository. In the "HEAD branch" line, you should see the name of the default branch. If you can't see it, you may need to manually set the remote repository's default branch.
try to run git remote show origin | grep "HEAD branch"
Kay W. commented
guanguans commented
It's okay to re cloned, thank you.