-
-
Notifications
You must be signed in to change notification settings - Fork 954
Closed
Description
Discussed in #1364
Originally posted by dsharma522 October 21, 2021
How one can one which is the default branch? main/master?
One can know about this by iterating all heads and then manually check , but that is also have one issue.
What if a repository has both the branches as their branch, which means master, main are some branch and default branch could be one of these or something else.
How to get the default branch ?
Metadata
Metadata
Assignees
Labels
No labels