InteliJ 2016 Create Pull Request



I don't see the create pull request in my IJ, though in the IJ help it seems the dialog should be available.

Are the help documentation not updated or am I missing something?




Comment actions Permalink

Create Pull request option is available when remote of a project points to GitHub

If it is so, option to create Pull request, as well as couple others, should be present. Creating Pull request is done in VCS - Git - Create Pull Request...

In general you need to make sure a remote points to the server specified in Settings - Version control - Github. is just a default, it might be other server, e.g. Github Enterprise


Comment actions Permalink


thanks for the reply.

I am using a TFS git - is there a way to enable a pull request, maybe another plugin?


Comment actions Permalink

Yes, for TFS integration it is a different story.

That plugin should work, however please note it supports TFS 2015 only.  

Comment actions Permalink

Hi, this is a helpful info as I couldn't guess why the Create Pull Request action was disabled in my IDEA.

Now I know why, I'm still keen to find out what would be an appropriate workaround for it in my case. Client asked me to use a separate GitHub account for access to their organization's repos. So I have two SSH identity files and a relevant SSH config with host alias for use with client's repos. It goes like this:

$ cat ~/.ssh/config 
        User git
        IdentityFile ~/.ssh/rsa-me-at-foo-identity

Quite common approach if multiple SSH identities are in use.

Then there is a relevant git remote config for a client repo:

$ git remote -v
origin (fetch)
origin (push)

Obviously IDEA can't recognize '' among repo's remotes so the Create Pull Request remains disabled.
I've tried to change repo's remote host to and then it's enabled so I'm sure that's the case.
Obviously it doesn't work anyway as my default identity has no access to this repo.

Any idea (or perhaps I should ask, any IDEA) how to tackle this issue?

Comment actions Permalink

Temporary change the hostname to (see my last screenshot)

Comment actions Permalink

Thanks for the quick reply.

This requires an additional setup, some kind of a host alias or proxy, but not SSH as pull request goes through GitHub REST API over HTTPS.

I've done such, for now just to try, by adding /etc/host entry as follows:

$ cat /etc/hosts | grep github

This is not ideal as it ties to a specific GitHub IP but I could live with it.

However, SSL certificate doesn't match the domain name obviously, which prevents IDEA to connect.

17:42    Can't Create Pull Request: Host name '' does not match the certificate subject provided by the peer (, O="GitHub, Inc.", L=San Francisco, ST=California, C=US, OID., STREET="88 Colin P Kelly, Jr Street", SERIALNUMBER=5157550, OID., OID., OID. Organization)


Comment actions Permalink

Seems you need support for several GitHub accounts - vote for


Please sign in to leave a comment.