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

pushing fails - WHY?

From
Alan Chandler <alan@chandlerfamily.org.uk>
Date
Oct 1, 2006, 10:38 UTC
Message-ID
<200610011138.06823.alan@chandlerfamily.org.uk>

I am just coming back to repeat the setting up of my public git repositories after loosing them in a disk crash a little while ago.

The first repository I am setting up is called akclib on server roo.home
so in /var/lib/git on that machine I did

mkdir akclib.git GIT_DIR akclib.git git init-db --shared

Back on my workstation where my master repository resides
~/dev/akcmoney
I have a .git/remotes/public file which contains

URL:roo.home:/var/lib/git/akclib.git Push:master

BUT WHEN I attempt to push -  thus

alan@kanger:~/dev/akclib[master]$ git push public fatal: remote 'public' has no URL

It fails. But I don't understand why. Can someone point me at what I am doing wrong.

(git is version 1.4.2.1 on the workstation, 1.4.1 on the server)
-- 
Alan Chandler
http://www.chandlerfamily.org.uk
Next: Alan Chandler
Message 1 of 3 in “pushing fails - WHY?”
  1. Alan ChandlerOct 1, 2006
  2. ANSWERAlan Chandler, Oct 1, 2006
  3. Junio C HamanoOct 2, 2006

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.