hmm, it sounds like you may not have a local master branch?
What does "git branch -a" say?
>
> Thanks,
> Rohith
Cheers,
JS
On Feb 3, 2008 10:42 PM, Sebastian <sebastian....@gmail.com> wrote:
>
> I read somewhere on the web that one gets this error when trying to
> commit using a SSH key when the repo address doesn't start with ssh!?
> I changed it to ssh://gitorious.org/couchobject/sebastians-mainline-clone.git
> and tried again, but was asked for a password... something seems to be
> wrong. I have uploaded my SSH key, in case you wonder.
[snip]
> > fatal: The remote end hung up unexpectedly
> > error: failed to push to 'git://gitorious.org/couchobject/sebastians-
> > mainline-clone.git'
The git:// protocol (=git-daemon) is, in this case, for read-only
operations (pulling/cloning) only, you can change your
$PROJECT/.git/config file to read:
url = g...@gitorious.org:couchobject/sebastians-mainline-clone.git
The way Gitorious auths you is via the public ssh key(s) you provided,
hence the need to use the "git" user.
Hope that clears things up a bit?
JS