by _fbpt · 7y ago · 0 comments
Request: Is it possible to import only one subdirectory of another Git repository as a subtree (excluding unit tests and build scripts and such)?
Edit: to be clear; even before 0.4.0 git subrepo handled strange situations better than git subtree did mostly because git subtree requires so much more manual work that's easy to get wrong.
What someone might want to try is extracting a subdirectory using git-subtree, and then importing it elsewhere using git-subtrac.