Re: Unable to push remote branches

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, May 06, 2011 at 10:17:37AM +0530, Srinidhi K V wrote:
> Hi All,
> 
> I have a GIT repository in which there are lot of remote branches, I
> have created a bare git repository in my server. When I push my local
> repository to the bare repository in server using "git push --all"
> only local branches get pushed.

This is exactly what the man page says --all does. Remote branches are
under refs/remotes/<remote>/heads. You might want to use --mirror or
specify refs/remotes/* as the branches to push (I haven't tested this
refspec, but I think it should work).

   cmn

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]