I have an iOS that app that I need to deploy to several clients. Each clients has a few small changes in the app (images, provisioning files, app name, etc). 95% of the app is the same for all clients.
I don't want to maintain several git repositories (one for each client). I would rather have the once, with branches for each customer.
I'm new to this branching thing and need to know if this can be achieved.
- I plan to create the master branch with generic images/configs/etc.
- Create a branch for each client
- Update each branch with the customers images/configs/etc
Then when I make a change I will make it to the master. Then pull the changes from the master to each branch. How can I stop the images, configs, etc from being overridden when I pull from master. Can I define certain files which can be ignored when I do this for each branch?
Is there a better way of managing what I need to do?