We've recently started using git-flow in our company, and we've came across the following issue:
We have a DEV_MODE boolean that controls the level of logging in the app, we want the develop branch to always have DEV_MODE=true.
However, when releasing a version we change the DEV_MODE to false.
When I do finish-release in git-flow, it'll merge the DEV_MODE=false into the develop branch.
I there a hook I can use to prevent this, or maybe a way to tell git how to merge files from release branches to develop?
 
     
    
 
    