Improve `hub merge` to not generate leftover remote refs
The previous implementation fetched refs into `refs/remotes/OWNER/BRANCH`. Now, fetch `refs/pull/ID/head` directly into FETCH_HEAD and merge that. It's a more straightforward approach that generates no artefacts. This is for similarity with the reimplemented `hub checkout` command which now also uses `refs/pull/ID/head`.
Showing
想要评论请 注册 或 登录