CuriousD
CuriousD

Reputation: 1775

Subdirectory from github as a git submodule

A lots of repos for python on github use project structure for setuptools (for example https://github.com/omab/django-social-auth). But I want to make folder with module core to my project as a submodule. Can I use subdirectories from remote repo as a submodule in my repo?

Upvotes: 4

Views: 184

Answers (1)

sigman
sigman

Reputation: 1301

You can try the sparse checkout along with submodules.

Set Git submodule to shallow clone & sparse checkout?

Upvotes: 2

Related Questions