I have a shared directory on a computer in LAN which contains a Git repository. Now I am trying to add it as a submodule to one of my repositories.
I have tried :
git.exe submodule add -- \\Remote-PC\SharedDirectory\module1 module1
But when I run this command, it fails with the following error :
repo URL: '\\Remote-PC\SharedDirectory\module1' must be absolute or begin with ./|../
I don't know why it gives this error. Is it possible to add a shared directory as a submodule?