.\" generated with Ronn-NG/v0.8.0 .\" http://github.com/apjanke/ronn-ng/tree/0.8.0 .TH "HUB\-MERGE" "1" "March 2019" "GITHUB" "Hub Manual" .SH "NAME" \fBhub\-merge\fR \- Merge a pull request locally with a message like the GitHub Merge Button\. .SH "SYNOPSIS" \fBhub merge\fR \fIPULLREQ\-URL\fR .P This creates a local merge commit in the current branch, but does not actually change the state of the pull request\. However, the pull request will get auto\-closed and marked as "merged" as soon as the newly created merge commit is pushed to the default branch of the remote repository\. .SH "EXAMPLES" .nf $ hub merge https://github\.com/jingweno/gh/pull/73 > git fetch origin refs/pull/73/head > git merge FETCH_HEAD \-\-no\-ff \-m "Merge pull request #73 from jingweno/feature\|\.\|\.\|\." .fi .SH "SEE ALSO" hub\-checkout(1), hub(1), git\-merge(1)