Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jgit-dev] Getting default branch of remote repository

Hello All,

What I need to do is to find out the default branch of of a remote repository, i.e. find out the branch where HEAD symbolic ref points to. I need to do this without cloning the whole repo, so that I can fetch only this branch.

Thanks & Best Regards
Alaa Nassef

Back to the top