on-internet
← Community

Is git sparse checkout compatible with submodules?

Stack Overflow ·

I have a simple experiment that seems to suggest - no. But maybe I am missing something. I have a self-contained reproduction that you can run in docker run -it --rm --entrypoint sh alpine/git:v2.54.0 Some git setup to run everything locally git config --global user.email a@b git config --global user.name test git config --global protocol.file.allow always First, we setup two repos - vendor and my_repo_remote . We are making them locally, but let's imagine those are repos somewhere on github # Vendor: initial commit mkdir /vendor; cd /vendor; git init echo A > lib.c; git add lib.c; git commit

Comments

Sign in or sign up to comment and upvote.

No comments yet.