.TH "hub-merge" "1" "18 Jul 2021" "hub version 2.14.2" "hub manual" .nh .ad l .SH "NAME" hub\-merge \- Merge a pull request locally with a message like the GitHub Merge Button. .SH "SYNOPSIS" .P \fB\fChub merge\fR \fIPULLREQ\-URL\fP .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" .PP .RS 4 .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 .RE .SH "SEE ALSO" .P hub\-checkout(1), hub(1), git\-merge(1)