exlinc / mdlr

MDLR ("Modular") gives you declarative and easy Git 'submodules without the pain of submodules'
Apache License 2.0
27 stars 2 forks source link

Using submodules command? #4

Closed BarbzYHOOL closed 6 years ago

BarbzYHOOL commented 6 years ago

Can I use submodules command?

I did exactly like on the video, then I typed "git submodule status" but there is an error:

fatal: no submodule mapping found in .gitmodules for path `subrepo`
svarlamov commented 6 years ago

Sorry if that wasn't clear -- this is not a wrapper around the git submodule command. It is a replacement and defines the modules in the mdlr.yml file. If you want to add a small script to your project to pull without having mdlr installed, then you could likely do it very simply by just reading that YML file

BarbzYHOOL commented 6 years ago

Ah k

BarbzYHOOL commented 6 years ago

But it's still considered a submodule no? because it kinds of act similarly, also I can use some commands like git rev-parse --show-superproject-working-tree