1

How do I manage and update two different app versions, which are with and without advertisements, but are otherwise identical, using git. Up to this point in development, I've only needed to maintain one branch.

0

1 Answer 1

13

You can try to utilize version control for this, but I recommend against it.

Such a requirement is much easier to manage by maintaining only one "version" or "branch" of the application, when you add a compile-time feature toggle for enabling or disabling advertisements. If you like, you can also modify your build process to create always both variants of the application.

1
  • 2
    I agree. There's no real point to keeping two different source control branches/repos for something which is easily toggled.
    – Rhys Johns
    Jun 8, 2017 at 6:59

Not the answer you're looking for? Browse other questions tagged or ask your own question.