Is it possible to keep a feature branch totally in sync with the main branch except for a couple of specific files?
So for example I have a branch I create specifically for trying out a new style which has some changes to a css file, I'm not sure whether to go with the new style but I want to keep the option open while I continue to work on my app in main... when I switch back to my style branch all my progress in main is no longer there so I can't see what my updated app looks like with my alternate style..
So to keep the 2 in sync while excluding the style file would be perfect!
I've tried to look up how I might do this but haven't managed to come across what I'm looking for..
Thanks for any help you can give!