Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Create Pull Request Button is disabled

I would like to make a pull request from my fork repo to the upstream repository.

As always I was following these steps here from the guidance from Github.

But this time I can not make a pull request, as the button is disabled.

The branches can be automatically merged.

I do have changes in my forked repo and I can see commits made. Base repo and head repo are indicated correctly.

like image 277
wingedRuslan Avatar asked Apr 10 '19 07:04

wingedRuslan


People also ask

Why is pull request greyed out?

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.

How do I enable draft pull request GitHub?

To create a pull request that is ready for review, click Create Pull Request. To create a draft pull request, use the drop-down and select Create Draft Pull Request, then click Draft Pull Request.

How do I turn off pull requests in GitHub?

You can't setup branch permissions with Github. However, if you're the only one with push permissions, you don't have to forbid the creation of pull requests: you could just rebase and push them manually.


2 Answers

In my case, the pull request Title field didn't auto-populate like it usually does. Once I typed in a title, the button became active.

like image 176
GeekyMonkey Avatar answered Nov 04 '22 23:11

GeekyMonkey


From Github Developer Support:

Also, I know this might seem strange, but could you try selecting the base repo/branch from the drop down list (even if this already seems selected), and give this another go. It could that, for whatever reason, the pull request creation flow isn't picking this up implicitly.

I have also logged out and logged in again.

After that, everything was fine!

like image 38
wingedRuslan Avatar answered Nov 04 '22 23:11

wingedRuslan