[openib-general] fail to git push

Michael S. Tsirkin mst at mellanox.co.il
Thu Nov 30 04:45:09 PST 2006


you should always work on master.
origin is for when you fetch from someone/somewhere

Quoting r. Eitan Zahavi <eitan at mellanox.co.il>:
Subject: Re: fail to git push

Sasha Khapyorsky wrote:
> 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
>   
What I meant was: if I want to work on the trunk should I use "origin" 
or "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
>
>
> _______________________________________________
> openib-general mailing list
> openib-general at openib.org
> http://openib.org/mailman/listinfo/openib-general
>
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
>   


_______________________________________________
openib-general mailing list
openib-general at openib.org
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

-- 
MST




More information about the general mailing list