[openib-general] fail to git push

Sasha Khapyorsky sashak at voltaire.com
Thu Nov 30 04:45:22 PST 2006


On Thu, 2006-11-30 at 13:26 +0200, Eitan Zahavi wrote:
> Hi Sasha
> 
> What do you mean by :
> > And if you want to do 'push origin', you need 'Push: ' line
> > in .git/remotes/origin file.

As already suggested by Michael something like:

Push: refs/heads/master:refs/heads/master

> >   
> I just want to push to the main trunk in the git repo.
> 
> I thought I should do it to "origin".
> Should I use some other command?

The command is ok, you just need to tell to git which references you
want to push - you can do it by adding 'Push: ' line to
your .git/remotes/origin file (You can look at 'REMOTES' section from
'man git-push').

Sasha





More information about the general mailing list