After you have merged the commit into master, but before you push,
from the command line, type 'git commit --amend'. You can then edit
the commit message.

Now would also be a good time to check that the author is the
contributor -- the person who did the work -- not necessarily
yourself.

Then push.


On Tue, Apr 19, 2016 at 11:18 AM, Zuyu Zhang <[email protected]> wrote:
> I have questions to how to merge PR #2 as a committer.
>
> I've noticed the following hints, but I still do not know how to achieve
> it. Should I edit the commit message again with "This closes #2"?
>
> To close this pull request, make a commit to your master/trunk branch
> with (at least) the following in the commit message:
>
>     This closes #2
>
> ----
> commit 0e522fe2da2effdfdd6aa7205ce43fc39898967e
> Author: [email protected] <[email protected]>
> Date:   2016-04-19T17:23:51Z
>
>     QUICKSTEP-1: Add incubation disclaimer to README.md.
>
> ----
>
>
> Thanks,
> Zuyu

Reply via email to