# git submodule add adding an extra "Git" to path

1 messages from 2022-03-11 to 2022-03-11. Participants: Ulrich Windl.
Thread: https://gitlist.dev/t/57538

## Ulrich Windl, 2022-03-11 11:53

Subject: git submodule add adding an extra "Git" to path
Message-ID: <622B384D020000A1000488F7@gwsmtp.uni-regensburg.de>
URL: https://gitlist.dev/e/622B384D020000A1000488F7%40gwsmtp.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




```
