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

"git clone" can't clone a gitweb URL

From
LYLiu Yubao <yubao.liu@gmail.com>
Date
Nov 6, 2006, 08:32 UTC
Message-ID
<454EF304.4030304@gmail.com>

$ git clone http://repo.or.cz/w/i18n.git error: Can't lock ref rm: cannot remove directory `i18n/.git/clone-tmp': Directory not emp ty

At last I found the URL was a gitweb URL not for mirroring.

It's better git provides clear information like "This is maybe a gitweb URL, view it in web browser for more information", or gitweb can send a redirection response to git client. Even more, git-daemon also can send redirection response to tell git client that the service is offline temporarily and it can use an alternative

Message 1 of 1 in “"git clone" can't clone a gitweb URL”
  1. Liu YubaoNov 6, 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.