OK, here's my problem, let me try to make it all make sense...
I've created a rails website for client X. I now have a client, Y, who wants a website that does the exact same thing as client X, but with a different skin.
Rails was perfect for this since all the skinning was in it's own folder and set apart from all the business logic. (MVC framework)
Now for version control, I'm using git since it seems to be the latest, greatest thing. I haven't spent a lot of time learning all about git so I'm a bit fresh. Anyways, what I did was I made a branch from clientXcode and called it clientYcode. I then did all the changes to the views to make it look different, and lala, the same website with a different skin.
Now here's what I don't understand about git: I've made many changes to clientXcode in the views, models, and controllers; and now I want to merge those changes into clientYcode, excluding any view changes. Since views, models, and controllers each have their own folder in rails I was hoping to be able to do something like:
git merge client_x_code 'app/controllers/*', 'app/models/*'
QUESTION 1: Is something like that possible with git? If so, how would I do it?
QUESTION 2: Was branching the best solution to make a copy (or at least the effect of a copy) of my project?