Tuesday, 10 September 2013

Default branch after "git clone"?

Default branch after "git clone"?

My understanding is that the default branch of a cloned repository is to
be whatever HEAD points to in the repo being cloned.
I now have a case where this is not true. My understanding is obviously
flawed, so what does determine the default checkout branch when cloning a
(bare) repo?

No comments:

Post a Comment