threads / discuss / 57538

git submodule add adding an extra "Git" to path

Subject: git submodule add adding an extra "Git" to path

## tl;dr

One message between Mar 11, 2022 and Mar 11, 2022.

replies: 0people: 1as markdown or json

Ulrich Windl· Mar 11, 2022, 11:53 UTC · lore
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

← back to recent threads