为什么github会告诉我“你最近推动的分支机构”? [英] Why does github show me "Your recently pushed branches"?

查看:1026
本文介绍了为什么github会告诉我“你最近推动的分支机构”?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我快速转发了几个开发分支以便与master保持最新,并将它们推送到私有存储库。私人回购由客户的github账户拥有,我是合作者。

I fast-forwarded a couple of development branches to be up-to-date with master, and pushed them to a private repository. The private repo is owned by the client's github account and I am a collaborator.

现在,github向我展示了两个链接,分别是Your recent push branches:拉请求和比较。当我点击拉请求出于好奇,它显示我:
糟糕! master已经是最新的功能尝试不同的分支?。对于任何其他分支来说都是如此,因为它们都是快速更新的。那么这些链接的重点是什么?

Now, github shows me two links under "Your recently pushed branches:", each containing "Pull request" and "Compare". When I click on "Pull request" out of curiosity, it shows me: Oops! master is already up-to-date with feature Try a different branch?. It's the same story for any other branch because they are all fast-forward updated. So what is the point of these links?

推荐答案

这些链接可让您快速比较或打开您的分支的拉取请求。
当最近推送的分支位于远程HEAD之前时显示它们。大多数情况下,远程HEAD指向master(这可以通过在 Admin 部分中调整存储库的默认分支来更改)。

Those links let you quickly compare or open a pull request from one your branch. They're displayed when a recently pushed branch is ahead of the remote HEAD. Most of the time, the remote HEAD points to master (this can be changed by tweaking the "default branch" of the repository in the Admin section).

由于看起来您的远程HEAD指向主,所以这些链接不应该显示。好的举措是发送一封邮件 support@github.com。

As it looks like your remote HEAD points to master, those links should not be displayed indeed. The good move would be to send a mail support@github.com..

这篇关于为什么github会告诉我“你最近推动的分支机构”?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆