Currently, we are developing native apps and web apps at ionic.
Native apps and web apps use almost the same source code.
However, only one part of the file is written differently.
Basically, we share the source code, but there is a slight difference between the code of the native app and the code of the web app. What is the best way to efficiently manage it?
If you clone it separately, it's troublesome because you have to modify one of the changes to the other.
Is it okay to create and manage branches for native apps and branches for web apps?
The corrections we share are like cherry-picking.
I think the ideal is to configure the application so that it can be managed by one branch. (Configure applications to switch environmental differences, for example, settings)
However, there may be times when you really want to manage two slightly different branches.If I were myself, I would do the following.
In this way, I think you can fully utilize the advantages of git having a graphical commit structure.
884 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
606 Uncaught (inpromise) Error on Electron: An object could not be cloned
596 GDB gets version error when attempting to debug with the Presense SDK (IDE)
566 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
© 2024 OneMinuteCode. All rights reserved.