nqminhuit / gis

Java Command Line Application which extends Git for supporting git-modules
1 stars 0 forks source link

[feature] Extend to support external repo #14

Closed nqminhuit closed 2 years ago

nqminhuit commented 2 years ago

Not many projects use git submodules, however there are many microservices (or distributed system) projects use multiple git repositories. Extend gis to support this use case.

nqminhuit commented 2 years ago

.gitmodules:

[submodule "module-a"]
        path = module-a
        url = git@abc:username/module-a.git
[submodule "module-b"]
        path = module-b
        url = git@abc:username/module-b.git

add new file named .gis-modules under root module content should be:

path = <directory_name_from_root_module>
path = <directory_name_from_root_module>
...