Mac版Github:“拉取请求"按钮缺失

问题描述:

星期六,我在Mac上安装了Github Desktop,并尝试了Github Workflow.创建了一个分支,提交了更改并执行了拉取请求".一切正常.

Saturday I installed Github Desktop on my Mac and tried the Github Workflow. Created a branch, committed changes and did a Pull Request. Everything worked.

今天,我在工作时安装了Mac的Github-并没有"Pull Request"按钮.我现在回到私人Mac电脑上,现在这里的按钮也丢失了.

Today I installed Github for Mac at work - and the Pull Request Button is no where to be found. I'm back home now on my private Mac and the button is missing here as well now.

如您在最后一个屏幕截图中所见,该分支位于github.com上,可以进行PR.同样,Github for Desktops时间轴(右上方)中的点也很小,这意味着提交已被推送.而且dev分支也有所更改(第二张屏幕截图).

As you can see on the last screenshot, the branch is up on github.com and ready for a PR. Also the dots in Github for Desktops Timeline (top right) are small, which means the commits are pushed. And there are changes to the dev branch (second screenshots).

我做错什么了吗?

更新:也许我的分支没有资格获得PR?因为菜单项也显示为灰色:

Update: maybe my branch isn't eligible for a PR? Because the menu item is also greyed out:

我有两个分支,它们已经落实(并推动了)差异……嗯.

I have two branches, they have committed (and pushed) differences... hm.

执行此操作的另一种方法(对我有用)是:

Another way of doing this (it worked for me) is to go to:

首选项">退出">登录"(再次)

"Preferences" > "Sign out" > "Sign in" (again)

那样,您将重置自己的Github桌面(不用担心.您不会丢失任何东西:))

That way you'll reset your Github desktop (don't worry. You won't lose anything :) )