git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Find main branch
@ 2016-01-14 18:17 pedro rijo
  2016-01-14 18:26 ` Stefan Beller
  2016-01-14 18:31 ` Konstantin Khomoutov
  0 siblings, 2 replies; 11+ messages in thread
From: pedro rijo @ 2016-01-14 18:17 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2016-01-15 18:03 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-14 18:17 Find main branch pedro rijo
2016-01-14 18:26 ` Stefan Beller
2016-01-14 18:31 ` Konstantin Khomoutov
2016-01-14 18:40   ` pedro rijo
2016-01-14 18:53     ` Konstantin Khomoutov
2016-01-14 19:12     ` Bryan Turner
2016-01-14 21:13       ` Jeff King
2016-01-15 10:49         ` pedro rijo
2016-01-15 17:30         ` Junio C Hamano
2016-01-15 18:02           ` Jeff King
2016-01-14 21:04     ` Jeff King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).