Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Github for Mac: Pull Request Button is missing

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.

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.

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).

Am I doing something wrong?

enter image description here

enter image description here

enter image description here

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

enter image description here

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

like image 907
ProblemsOfSumit Avatar asked Nov 09 '15 17:11

ProblemsOfSumit


People also ask

Where is the pull request button in GitHub?

Creating the pull request. On GitHub.com, navigate to the main page of the repository. In the "Branch" menu, choose the branch that contains your commits. Above the list of files, click Pull request.

Why I Cannot create a pull request?

If there are no differences between the branch and the pull request you want to create, you won't be able to create it (see screenshot), the button will show greyed out. If you're having a different issue, please send us a screenshot so we can continue helping you.


Video Answer


2 Answers

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

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

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

like image 162
Jowita Emberton Avatar answered Nov 15 '22 10:11

Jowita Emberton


I finally got it. As you can see in the screenshots my repository is marked as "other". That's because it was already on my machine and I've not cloned it in Github for Desktop. I just added it.

I cloned that repository as follows

https://githubusername:[email protected]/organization/repo.git

That URL as remote.origin.url probably isn't handled by Github for Desktop so the Repo is marked as "other".

Weird. I recloned my repositories and now everything is working fine.

like image 34
ProblemsOfSumit Avatar answered Nov 15 '22 12:11

ProblemsOfSumit