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?
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.
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.
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.
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 :) )
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With