npolyak / NP.Ava.UniDock

New (Avalonia 11) UniDock repository
MIT License
141 stars 10 forks source link

Submodule error when cloning #2

Closed Mrxx99 closed 7 months ago

Mrxx99 commented 8 months ago

When I try to clone this repository with submodules (git clone --recurse-submodules https://github.com/npolyak/NP.Ava.UniDock) I get the following error in git log:

fatal: No url found for submodule path 'SubModules/NP.IoCy/SubModules/NP.Utilities' in .gitmodules
fatal: Failed to recurse into submodule path 'SubModules/NP.IoCy'
npolyak commented 8 months ago

When I try to clone this repository with submodules (git clone --recurse-submodules https://github.com/npolyak/NP.Ava.UniDock) I get the following error in git log:

fatal: No url found for submodule path 'SubModules/NP.IoCy/SubModules/NP.Utilities' in .gitmodules
fatal: Failed to recurse into submodule path 'SubModules/NP.IoCy'

Try cloning first without --recursive

and then cd into the local repository clone

and then type

git submodule update --init

npolyak commented 8 months ago

no need to recursively get all submodules - they can all be on the same level.

npolyak commented 7 months ago

closing this issue - should work