Just pass the -m and --no-ff parameters to the merge command:
$ git merge other-branch -m "Commit Message" --no-ff
The --no-ff parameter is required to prevent merging as a fast-forward without merge commit.
Just pass the -m and --no-ff parameters to the merge command:
$ git merge other-branch -m "Commit Message" --no-ff
The --no-ff parameter is required to prevent merging as a fast-forward without merge commit.