| ▲ | bryanlarsen 9 hours ago | ||||||||||||||||
git subtree and git subrepo are compatible with all git forges and don't require normal developers to install the extensions. Only the person/bot doing the occasional sync to the external repo has to install the extension. I prefer git subrepo for most (but not all) use cases. | |||||||||||||||||
| ▲ | pavon 9 hours ago | parent | next [-] | ||||||||||||||||
Note that subtree and subrepo have the same SHA-1/SHA-256 incompatibility issue that submodules do, so this will be just as much of a trainwreck for them as well. | |||||||||||||||||
| ▲ | mort96 9 hours ago | parent | prev [-] | ||||||||||||||||
What's the advantage to using git subtree or git subrepo instead of git submodules? I've never heard of this, what's the difference between them? If it's an extension, how do people without the extensions end up downloading the code from the other repos? How does it work with MRs, can I submit an MR which consists of changing the referenced SHA (and have it not show up as changes to every file in the referenced repo)? | |||||||||||||||||
| |||||||||||||||||