multi-platform project: common repository, or separate, individual repositories for each platform #82699
-
|
I have a large running, almost completed, multi-platform, open source project. Up to now I have used a common repository, whith commented-out options. Since code-signing and notarization for Apple involves more complex instructions, should I use separate repositories, reserved branches, or keep it on the same, single-branch repository? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
Considering your project is almost completed, and assuming you've got good documentation, having separate branches in a single repository might strike a nice balance. You keep everything in one place but maintain a bit of separation for platform-specific concerns. if you separate, it may add some redundancy if there's a lot of shared code and maintenance might require updates in multiple repositories. it is a hell of a work, to be honest. If you do reserved branches, it might get crowded in the long run, especially if there are many platform-specific considerations. Though, the decision is up to you, hope this helps to be taken into consideration |
Beta Was this translation helpful? Give feedback.
most case main or master branch -whichever you've designated as the primary development branch- is typically what IntelliJ will track by default. Any changes you make will be based on this branch and IntelliJ integrates well with version control systems. You can use the "Version Control" tool window to see changes across branches, commit your changes, and switch branches easily. For more info u can check this documentation especially under the Use feature branches section