I need to often combine between dev and master.
I also have a commit, which I only need to apply to dev, because things work locally.
Previously, I merged only from dev to master, so I had a production_changes branch that contained the "excellent commit" of the dev special commit. and from the master I combined it. Used to work perfectly.
Now every time I merge from dev to master, and vice versa, I have to choose and apply the same commit again and again :( UGLY.
What strategy can be adapted so that I can easily merge between two branches, but keep some changes on only one of these branches?
source
share