Git - How to selectively apply changes from one branch to another?
问题 Is it possible to selectively apply changes from one branch to another with Git? More specifically, I use a public dev branch for GitHub and a private master branch for deployment. When changes are made to one branch they will need to be applied to the other, but some lines of code need to stay different. In my case it's a few css classes and a feed. I'm new to Git but I've made my research : git merge --no-commit --no-ff can be used followed by a git mergetool to chose what I want in case of