Agreed, and here&#x27;s a git alias I made for the occasion:<p><pre><code>  merge-pr = &quot;!f() { git fetch $1 $2; git branch _FETCH_HEAD FETCH_HEAD &amp;&amp; git rebase HEAD _FETCH_HEAD &amp;&amp; git checkout master &amp;&amp; git merge --ff-only _FETCH_HEAD; git branch -d _FETCH_HEAD; }; f&quot;
</code></pre>
Syntax: `git merge-pr &lt;remote&gt; &lt;branch&gt;`. You can copypaste url + branch from github&#x27;s UI above the merge button.<p>Note: This merges only to master, no way to specify another merge target. Feel free to suggest improvements.