3 ms·
git subrepos are an alternative to git submodules and git subtrees. https://github.com/ingydotnet/git-subrepo https://github.com/ingydotnet/git-subrepo git su
by sshine 4y ago
git subrepos are an alternative to git submodules and git subtrees.
https://github.com/ingydotnet/git-subrepo https://github.com/ingydotnet/git-subrepo
git subrepos work simply by copying your dependency to a subdirectory and committing the changes using one large commit that retains metadata about the update to the subrepo. For that reason, git subrepos aren't symlinks. You don't need to git clone --recursive like with git submodules, and you don't need cross-repo authentication. Updating a subrepo means performing another commit.
Even though git subrepos are the most poorly maintained, the design is simpler.
I wish someone would fork and take over maintenance.
git subrepos are the best.