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
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 ?
The text was updated successfully, but these errors were encountered:
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 ?
The text was updated successfully, but these errors were encountered: