I have some commits that are local configuration changes so we obviously do not want it to propagate to the master when merging. I guess this mean the merging will need to do some cherry-pick or to explicitly undo the merge of these commits. Is there some way to tell the merge to exclude them? Or even mark them initially as non mergeable.
Our current practice is do not even commit them to local. This is disturbing in two ways: we do not keep track of them, and git status keep telling us that we should add them (and we can not exclude them in a .gitignore as other changes need to propagate).