Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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
Atlassian Team members are employees working across the company in a wide variety of roles.
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
AUG Leaders

Atlassian Community Events