Error while pushing to Gitorious
flag
Messages 1 - 10 of 49 - Collapse all
/groups/adfetch?adid=qqY0JxAAAABTURNJkPHkzO4WPLdLOxvT
Error while pushing to Gitorious - Email updates to me  
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
1.  Rohith  
View profile  
 More options Feb 3 2008, 6:02 am
From: Rohith <EntombedVi...@gmail.com>
Date: Sun, 3 Feb 2008 03:02:45 -0800 (PST)
Local: Sun, Feb 3 2008 6:02 am
Subject: Error while pushing to Gitorious
Hey,

I am getting the following error when I try to git push origin master

error: src refspec master does not match any.
fatal: The remote end hung up unexpectedly
error: failed to push to '...@gitorious.org:chutney-jabber-bot/
mainline.git'

My .git/config looks like this:

[core]
        repositoryformatversion = 0
        filemode = true
        bare = false
        logallrefupdates = true
[remote "origin"]
        url = g...@gitorious.org:chutney-jabber-bot/mainline.git
        fetch = +refs/heads/*:refs/remotes/origin/*

Any idea what that error means?

Thanks,
Rohith


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
2.  Rohith  
View profile  
 More options Feb 3 2008, 6:10 am
From: Rohith <EntombedVi...@gmail.com>
Date: Sun, 3 Feb 2008 03:10:43 -0800 (PST)
Local: Sun, Feb 3 2008 6:10 am
Subject: Re: Error while pushing to Gitorious
Whoops. This was caused by forgetting to do a initial

git commit

Once I did the initial commit, the git push worked fine.

On Feb 3, 3:02 am, Rohith <EntombedVi...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
3.  Johan Sørensen  
View profile  
 More options Feb 3 2008, 6:11 am
From: "Johan Sørensen" <jo...@johansorensen.com>
Date: Sun, 3 Feb 2008 12:11:57 +0100
Local: Sun, Feb 3 2008 6:11 am
Subject: Re: [gitorious] Error while pushing to Gitorious
Hi,

On Feb 3, 2008 12:02 PM, Rohith <EntombedVi...@gmail.com> wrote:

hmm, it sounds like you may not have a local master branch?

What does "git branch -a" say?

> Thanks,
> Rohith

Cheers,
JS

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
4.  Sebastian  
View profile  
 More options Feb 3 2008, 4:09 pm
From: Sebastian <sebastian.probst.e...@gmail.com>
Date: Sun, 3 Feb 2008 13:09:52 -0800 (PST)
Local: Sun, Feb 3 2008 4:09 pm
Subject: Re: Error while pushing to Gitorious
I get the exact same error:

> git push origin master

fatal: The remote end hung up unexpectedly
error: failed to push to 'git://gitorious.org/couchobject/sebastians-
mainline-clone.git'

While a git commit seemed to work for Rohith it doesn't do anything
for me as there isn't anything new to commit...

And to answer Johans questions:

> git branch -a

* master
  origin/HEAD
  origin/master

Any ideas?

Best regards
S

On Feb 3, 8:11 am, "Johan Sørensen" <jo...@johansorensen.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
5.  Sebastian  
View profile  
 More options Feb 3 2008, 4:42 pm
From: Sebastian <sebastian.probst.e...@gmail.com>
Date: Sun, 3 Feb 2008 13:42:36 -0800 (PST)
Local: Sun, Feb 3 2008 4:42 pm
Subject: Re: Error while pushing to Gitorious
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.

Any ideas? Suggestions?

S

On Feb 3, 6:09 pm, Sebastian <sebastian.probst.e...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
6.  Johan Sørensen  
View profile  
 More options Feb 3 2008, 5:39 pm
From: "Johan Sørensen" <jo...@johansorensen.com>
Date: Sun, 3 Feb 2008 23:39:36 +0100
Local: Sun, Feb 3 2008 5:39 pm
Subject: Re: [gitorious] Re: Error while pushing to Gitorious
Hi,

On Feb 3, 2008 10:42 PM, Sebastian <sebastian.probst.e...@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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
7.  Sebastian  
View profile  
 More options Feb 4 2008, 6:18 am
From: Sebastian <sebastian.probst.e...@gmail.com>
Date: Mon, 4 Feb 2008 03:18:02 -0800 (PST)
Local: Mon, Feb 4 2008 6:18 am
Subject: Re: Error while pushing to Gitorious
Thanks for the answer Johan.
It still doesn't work though for some reason.
It asks for a password now after I changed the origins url.

Best regards
Sebastian

On Feb 3, 7:39 pm, "Johan Sørensen" <jo...@johansorensen.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
8.  Sebastian  
View profile  
 More options Feb 4 2008, 6:26 am
From: Sebastian <sebastian.probst.e...@gmail.com>
Date: Mon, 4 Feb 2008 03:26:44 -0800 (PST)
Local: Mon, Feb 4 2008 6:26 am
Subject: Re: Error while pushing to Gitorious
Well... there seemed to be something wrong with my public SSH key. I
regenerated it, uploaded a new public key and then it worked.

S

On Feb 4, 8:18 am, Sebastian <sebastian.probst.e...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Git tag error - Email updates to me  
1.  Piku  
View profile  
 More options Feb 4 2008, 2:10 pm
From: Piku <rop...@gmail.com>
Date: Mon, 4 Feb 2008 11:10:24 -0800 (PST)
Local: Mon, Feb 4 2008 2:10 pm
Subject: Git tag error
Hello,

I tried gitorious on my local machine and after updating to the latest
version it trowed a error when trying to browser a repository.

Git::GitExecuteError (git tag :Usage: /usr/bin/git-tag -l [<pattern>]
| [-a | -s | -u <key-id>] [-f | -d | -v] [-m <msg>] <tagname>
[<head>]):
    /vendor/ruby-git/lib/git/lib.rb:495:in `command'
    /vendor/ruby-git/lib/git/lib.rb:468:in `command_lines'
    /vendor/ruby-git/lib/git/lib.rb:371:in `tags'
    /vendor/ruby-git/lib/git/base.rb:322:in `tags'
    /lib/gitorious/gitto.rb:42:in `tags'
    /lib/gitorious/gitto.rb:47:in `tags_by_sha'
    /app/controllers/browse_controller.rb:10:in `index'

To fix this problem edit /vendor/ruby-git/lib/git/lib.rb and replace
'tag' command with 'tag -l'
def tags
      command_lines('tag -l')
end
git tag -l is used to list all tags

I am using git version 1.5.2.5 (the version that is in ubuntu gutsy
repositories).

Mihai Anca


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
2.  Piku  
View profile  
 More options Feb 4 2008, 4:28 pm
From: Piku <rop...@gmail.com>
Date: Mon, 4 Feb 2008 13:28:32 -0800 (PST)
Local: Mon, Feb 4 2008 4:28 pm
Subject: Re: Git tag error
Sorry but it may have been just an issue with me.

Tried it again and it worked without editing the file.
Still can't figure what happened.

Thanks,
Mihai Anca

On Feb 4, 9:10 pm, Piku <rop...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google