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

remote to push to local branch: hung up unexpectedly

From
MTMichael S. Tsirkin <mst@redhat.com>
Date
Jan 13, 2010, 13:08 UTC
Message-ID
<20100113130843.GA13545@redhat.com>
I have this in .config:
[remote "anthony"]
        url = .
        push = +refs/heads/pci:refs/heads/for_anthony
The point is to save state when it's stable and safe for outside use.

I hoped to make this shortcut for: git push . +refs/heads/pci:refs/heads/for_anthony

But this does:
Total 0 (delta 0), reused 0 (delta 0)
To .
 * [new branch]      pci -> for_anthony
fatal: The remote end hung up unexpectedly

So the command works but seems to give an error at the end. Same effect with url = file://. with url = /scm/qemu (this is repo path) and with url = file:///scm/qemu

reproduced with 1.6.6.144 and with 1.6.2.5
-- 
MST
Next: Tay Ray Chuan
Message 1 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.