How can I sparse checkout a subdirectory from git without checking out its parent directories?

776 views Asked by At

I am trying to sparse-checkout a subdirectory from my git repository.

The repository contains multiple plugins for wordpress and I want to check them out one by one. With the below posted solutions I have encountered the problem that EVERYTIME I check out the parent directory of the subdirectory is also checked out and the plugins are not working.

I tried something like this Is it possible to do a sparse checkout without checking out the whole repository first? and something like that Git sparse checkout for simple web deployment .

I really hope somebody can help me because I just feel like I kind of missed some information.

Thank you.

0

There are 0 answers