I'm trying to prevent essentially empty commit messages like Merge branch 'articleScore'
from occurring when merging a branch into master.
So my question is: how can I prevent empty featureBranch merge commit messages from occurring? My only thought is to
git checkout master
git rebase featureBranch
But I haven't seen anyone else mention that solution (or this problem).
And BTW, I've spent a few hours researching this, and it's different from git pull --rebase
and git --no-commit
which does something entirely unrelated.