Relative Content

Tag Archive for gitshared-librariesgit-submodulessparse-checkoutgit-sparse-checkout

Is it possible to push git sparse-checkout settings, so every team member has the same settings by default?

I am currently introducing a library from repository “B” to repository “A” as a submodule.
The Repository “B” referred to as a submodule includes additional test code and scripts which should not be part of repository “A”.
I successfully used sparse-checkout locally to only see 1 desired folder from repository “B” in the Repository “A” checkout.
To keep my project in repository “A” identical for all team members, I am looking for a way to apply the same sparse-checkout settings to all of them.