From: "Michael S. Tsirkin" <mst@redhat.com>
To: Tay Ray Chuan <rctay89@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: remote to push to local branch: hung up unexpectedly
Date: Wed, 13 Jan 2010 17:12:47 +0200 [thread overview]
Message-ID: <20100113151247.GB14248@redhat.com> (raw)
In-Reply-To: <be6fef0d1001130649i6a5f4f29j10800f2532d97796@mail.gmail.com>
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@redhat.com> 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@redhat.com> 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
prev parent reply other threads:[~2010-01-13 15:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-13 13:08 remote to push to local branch: hung up unexpectedly Michael S. Tsirkin
2010-01-13 14:15 ` Tay Ray Chuan
2010-01-13 14:28 ` Michael S. Tsirkin
2010-01-13 14:49 ` Tay Ray Chuan
2010-01-13 15:12 ` Michael S. Tsirkin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100113151247.GB14248@redhat.com \
--to=mst@redhat.com \
--cc=git@vger.kernel.org \
--cc=rctay89@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).