nqminhuit / gis

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

Authentication on multiple sub-modules which requires the same credentials should only ask once #32

Closed nqminhuit closed 3 weeks ago

nqminhuit commented 2 years ago

current behavior: gis asks for n times for n sub-modules

nqminhuit commented 3 weeks ago

We need to include credential in the url:

[submodule "<repo_name>.git"]
    path = <repo_name>.git
    url = https://<username>:<app_password>@github.com/<username>/<repo_name>.git

Then run git submodule sync