Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

I can't open a pull request to GitHub Enterprise

My company is in the middle of migrating from GitHub to GitHub enterprise.

My copy of SourceTree is configured with two accounts.

For the repositories that have been moved to GHE, I am able to do all of the normal operations (fetch, pull, merge, push etc.).

However, when I attempt to open a pull request - it opens this:

instead of this:

Currently, my repository remote is as follows:

I would have expected for it to use the remote.


1 answer

0 votes
Mike Corsaro Atlassian Team Aug 27, 2019

Hello! You'll have to adjust the remote host settings for the repo. There's 2 ways you can do this:


If you already have a Github Enterprise account added to Sourcetree:

  • Open the repo
  • Hit the "Settings" button
  • Click "Edit" on the remote URL
  • Under "Remote Account" select your Github Enterprise account
  • Click OK

If you don't have a Github Enterprise account added, and don't want to add one:

  • Open the repo
  • Hit the "Settings" button
  • Click "Edit" on the remote URL
  • Under "Remote Account" select "Generic Account"
  • Under "Host Type" select "Bitbucket Server"
  • Change the "Host Root URL" to ""
  • Click OK

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Sourcetree

Bug Fix: Sourcetree for Windows authentication error when updating to app password

Hello Sourcetree users!!! With the recent removal of Bitbucket Cloud account passwords for app passwords (please see our Bitbucket Cloud community post for details on why we made this change for se...

78,806 views 134 29
Read article

Atlassian Community Events