Re: unable to push
- From
Jeff King <peff@peff.net>
- Date
- Jun 1, 2008, 18:36 UTC
- Message-ID
- <20080601183659.GA5818@sigill.intra.peff.net>
- In-Reply-To
- <alpine.DEB.1.10.0806011133050.15294@asgard.lang.hm>
On Sun, Jun 01, 2008 at 11:34:19AM -0700, david@lang.hm wrote:
Show 6 quoted lines
>> Did you mean "init" here instead of clone? The clone should have created >> at least one branch (generally master, but depending on the current >> branch of the cloned repo). > > no, it was definantly a clone, and it did not create a master branch (at > least not one that showed up with git branch -a)
Hmm. It's possible that you cloned a repo that didn't have its HEAD pointing at the master branch (for example, one with a detached HEAD). And that would explain how you got into that situation (and either way, the discussed ways out of the situation apply).
-Peff