$ git merge "Merge work in mybranch" HEAD mybranch+
$ git merge -m "Merge work in mybranch" mybranch
From 1974bf2632180e353120c4cd1dca476df26c5bc0 Mon Sep 17 00:00:00 2001
From: Junio C Hamano
$ git merge "Merge work in mybranch" HEAD mybranch+
$ git merge -m "Merge work in mybranch" mybranch
where the first argument is going to be used as the commit message if the merge can be resolved automatically.
@@ -1175,7 +1175,7 @@ to the master branch. Let's go back to mybranch, and run$ git checkout mybranch -$ git merge "Merge upstream changes." HEAD master+$ git merge -m "Merge upstream changes." master
This outputs something like this (the actual commit object names would be different)
@@ -1885,8 +1885,8 @@ in both of them. You could merge in diff-fix first and then commit-fix next, like this:$ git merge 'Merge fix in diff-fix' master diff-fix -$ git merge 'Merge fix in commit-fix' master commit-fix+
$ git merge -m 'Merge fix in diff-fix' diff-fix +$ git merge -m 'Merge fix in commit-fix' commit-fix
Which would result in: