Find main branch
- From
pedro rijo <pedrorijo91@gmail.com>
- Date
- Jan 14, 2016, 18:17 UTC
- Message-ID
- <CAPMsMoDsay7_n53HY6cxHWEtv5vyugxYUZqwi9tU4dKLv6MGBg@mail.gmail.com>
Hey,
If I clone a repo, the repo will be on a specific branch, the 'main' (typically 'master') branch.
Is there any direct command to find that main branch, since that information is present?
If so, is there any way to find it without actually cloning the repo (similar to git ls-remote)?
-- Thanks, Pedro Rijo