On Thu, Jan 28, 2010 at 5:52 AM, Abhishek Singh <aks.abhis...@gmail.com> wrote:
> On 01/27/2010 02:43 PM, Marius Mårnes Mathiesen wrote:
>
> On Wed, Jan 27, 2010 at 4:43 AM, Abhishek Singh <aks.abhis...@gmail.com>
> wrote:
>>
>> Thanks Christian and Maurius. Now i'm able to log in. After logging in, I
>> added my ssh key, create a project and a repository within the project. The
>> creation of repository is taking a long time and it doesn't give me a
>> failure or error message. Also that i tried creating a local repo, do some
>> commit, add the remote head, and then push, which fails as saying:
>
> Did you start the poller script? This needs to be running for the
> repositories to be created on disk.
> Regards,
> - Marius
> --
> To post to this group, send email to gitorious@googlegroups.com
> To unsubscribe from this group, send email to
> gitorious+unsubscr...@googlegroups.com
>
> yeah, the problem was with the poller script. When i restarted the script,
> the repo was created properly in no time. But now I'm facing another
> problem.
> Now I'm unable to push change to a repo. Cloning the repo works well without
> any problem, but has problems with push. This is what I did:
>
> git clone git://git.local/mumbo-jumbo/mainline.git
> touch test
> echo hello >> test
> git add test
> git commit -m "Initial Commit"
>
> Till this step there was no problem. Now I tried to push in two ways:
>
> $ git push
> fatal: protocol error: expected sha/ref, got '
> ----------------------------------------------
> The git:// url is read-only. Please see
> http://git.local/mumbo-jumbo/mainline for the push url, if you're a
> committer.
> ----------------------------------------------'
>
> When I tried to push by defining the full path as below, I got an error:
>
> fatal: 'mumbo-jumbo/mainline.git' does not appear to be a git repository
> fatal: The remote end hung up unexpectedly

You need to use the push url to push. Not the git:// protocol, but the
ssh based one. It should start with g...@yourhost.
Btw: You can clone from the ssh url as well.

-- 
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com

Reply via email to