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

ReferenceExtensions.CreateBranch #2263

Closed
mmctest888 opened this issue Oct 19, 2020 · 1 comment · Fixed by #2306
Closed

ReferenceExtensions.CreateBranch #2263

mmctest888 opened this issue Oct 19, 2020 · 1 comment · Fixed by #2306

Comments

@mmctest888
Copy link

The default reference points to master branch... for new repos should be 'main' as default

@shiftkey
Copy link
Member

As it's not possible to know what the default branch is without making another API call internally, I'm going to mark this method as deprecated. It was probably something we shouldn't have supported in the first place.

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 a pull request may close this issue.

2 participants