Re: remote to push to local branch: hung up unexpectedly

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

 



On Wed, Jan 13, 2010 at 10:49:44PM +0800, Tay Ray Chuan wrote:
> Hi,
> 
> On Wed, Jan 13, 2010 at 10:28 PM, Michael S. Tsirkin <mst@xxxxxxxxxx> wrote:
> > On Wed, Jan 13, 2010 at 10:15:38PM +0800, Tay Ray Chuan wrote:
> >> Hi,
> >>
> >> On Wed, Jan 13, 2010 at 9:08 PM, Michael S. Tsirkin <mst@xxxxxxxxxx> wrote:
> >> > with url = /scm/qemu   (this is repo path)
> >>
> >> Are you working in a "normal" git setup with a .git folder and the
> >> files checked out? Or are you working with a --bare repo?
> >
> > It's a normal setup.
> 
> I used this script with v1.6.2.5, push was ok.

And so it was for me. Also if I clone the tree everything
is OK.  So it's specific to this tree.

>   #!/bin/bash
>   GITZ="/home/rctay/ext01/dev/git/git-1.6.2.5/git \
>   --exec-path=/home/rctay/ext01/dev/git/git-1.6.2.5/"
>   $GITZ --version
> 
>   mkdir foo
>   cd foo
>   $GITZ init
> 
>   echo hello > file1
>   $GITZ add file1
>   $GITZ commit -m "new file"
>   $GITZ checkout -b pci
> 
>   $GITZ config remote.anthony.url .
>   $GITZ config remote.anthony.push +refs/heads/pci:refs/heads/anthony
> 
>   $GITZ push anthony
> 
> -- 
> Cheers,
> Ray Chuan
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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]