git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tay Ray Chuan <rctay89@gmail.com>
To: "Michael S. Tsirkin" <mst@redhat.com>
Cc: git@vger.kernel.org
Subject: Re: remote to push to local branch: hung up unexpectedly
Date: Wed, 13 Jan 2010 22:49:44 +0800	[thread overview]
Message-ID: <be6fef0d1001130649i6a5f4f29j10800f2532d97796@mail.gmail.com> (raw)
In-Reply-To: <20100113142800.GA13901@redhat.com>

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.

  #!/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

  reply	other threads:[~2010-01-13 14:49 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 [this message]
2010-01-13 15:12       ` Michael S. Tsirkin

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=be6fef0d1001130649i6a5f4f29j10800f2532d97796@mail.gmail.com \
    --to=rctay89@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=mst@redhat.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).