Re: [PATCH] modernize fetch/merge/pull examples
From: Junio C Hamano <hidden>
Date: 2016-06-15 22:47:35
Clemens Buchacher [off-list ref] writes:
The "git pull" documentation has examples which follow an outdated style. Update the examples to use "git merge" where appropriate and move the examples to the corresponding manpages.
Makes sense, although I did some minor rewording. I noticed something related while reading this (the issue does not affect the validity of this patch).
+* Merge branch `maint` into the current branch, but do not make + a commit automatically: ++ +------------------------------------------------ +$ git merge --no-commit maint +------------------------------------------------ ++ +This can be used when you want to include further changes to the +merge, or want to write your own merge commit message.
When you are up to date with maint this would be a no-op, and when you are strictly behind maint it will succeed without creating a new commit. I have two possible approaches to fix this issue.