I have a webpage which I've been working on, and have something annoying with git merges which I was wondering if there is a non-rebase workaround for.
Essentially the production branch required an additional file to be added to the repository as some extra configuration for production only. It is a completely new file, and with no conflicts etc.
Ever since, whenever merging the dev branch to production, you get the merge-commit message. Previously it could always fast forward. Typically commits are not made to the production branch save for the merges from dev branches.
Is there any way to prevent this without doing rebase on the dev branches to include the unneeded extra file, some form of merge flag perhaps?