It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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:

https://github.com/Supplemental-and-Intervention-Solutions/hmheng-math-180/compare/jenkins-int-deploy?expand=1

instead of this:

https://scm.eng.hmhco.com/Supplemental-and-Intervention-Solutions/hmheng-math-180/compare/jenkins-int-deploy?expand=1

Currently, my repository remote is as follows:

git@scm.eng.hmhco.com:Supplemental-and-Intervention-Solutions/hmheng-math-180.git

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 "https://scm.eng.hmhco.com"
  • Click OK

Suggest an answer

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

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

4,942 views 0 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you