Hi community,
I have a product which comes in two versions, and up to now I was able to manage the differences between them only using compiler flags and #ifdefs. Now I want to have a separate icon for each of the product. The rest of the codebase, including source referencing the icon file remains the same. I want to keep these development streams in git branches (say, master, pro, and lite), but want branches pro and lite to (a) only contain different icon.png files, and (b) automatically contain all changes made to any files in branch master.
In Subversion this could be done by branching a single file (icon.png). Is there a way to do something similar in git?