Bruno ➡️ @bruno@cybre.space is a user on mastodon.social. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.
Bruno ➡️ @bruno@cybre.space @brunodias

Does anyone have experience using git to maintain two separate versions of something (ports for different platforms) that nevertheless share some core code? Is there a reasonable way to do this? (Submodules???)

· Web · 1 · 1

@brunodias Submodules are the best way I have found for this sort of thing, but they still aren't perfect.

@brunodias sounds like a repo for common code, two repo for the ports which have the common code as a submodule

@brunodias but I've also seen repos which maintain everything in a single monolithic repo, e.g. github.com/ibrdtn/ibrdtn has Linux/Unix and Android ports as well as common code