git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Tay Ray Chuan <rctay89@gmail.com>
Date
Jan 13, 2010, 14:49 UTC
Message-ID
<be6fef0d1001130649i6a5f4f29j10800f2532d97796@mail.gmail.com>
In-Reply-To
<20100113142800.GA13901@redhat.com>
Hi,
On Wed, Jan 13, 2010 at 10:28 PM, Michael S. Tsirkin <mst@redhat.com> wrote:
Show 10 quoted lines
> 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
Previous: Michael S. TsirkinNext: Michael S. Tsirkin
Message 4 of 5 in “remote to push to local branch: hung up unexpectedly”
  1. Michael S. TsirkinJan 13, 2010
  2. Tay Ray ChuanJan 13, 2010
  3. Michael S. TsirkinJan 13, 2010
  4. Tay Ray ChuanJan 13, 2010
  5. Michael S. TsirkinJan 13, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.