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

git submodule add adding an extra "Git" to path

From
UWUlrich Windl <ulrich.windl@rz.uni-regensburg.de>
Date
Mar 11, 2022, 11:53 UTC
Message-ID
<622B384D020000A1000488F7@gwsmtp.uni-regensburg.de>
Hi!

I just noticed this (in ~/src/C/iotwatch.lib): % git submodule add ../Git/threadtools.git threadtools

complained: fatal: repository '~/src/C/Git/Git/threadtools.git' does not exist

"~" is not actually displayed here, but that does not matter: Just image it reads "/home/user" instead.

Using the absolute path, worked, however. % git submodule add ~/src/C/Git/threadtools.git threadtools

git version 2.26.2 from SLES12 SP5

Regards, Ulrich

Message 1 of 1 in “git submodule add adding an extra "Git" to path”
  1. Ulrich WindlMar 11, 2022

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.