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

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
4,559,294
Community Members
 
Community Events
184
Community Groups

Adding a github enterprise account to source tree

I was wondering if there is a way to add a github enterprise account to source tree. I can add an account, but the URL for the enterprise server cannot be edited.

11 answers

1 accepted

3 votes
Answer accepted
KieranA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Jan 10, 2014

Hey Isaac,

If you're looking for support in the hosted repositories section of SourceTree then GitHub Enterprise currently isn't supported. There are open issues for it though (SRCTREE-1182 and SRCTREEWIN-1034).

If you simply want to clone a GH:E repository then you can just clone as you normally would just without using hosted repositories. Any repository that's accessible to you whether publicly or over VPN or in your local network can be cloned into SourceTree.

Cheers

And update on this? it's 2018...

Manju
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jul 13, 2018

This is coming to Sourcetree on both macOS and windows in the next few weeks. Please join the beta mailing list to get an early access build.

is not ready yet for release?

Bump. 99% of my work is on company Enterprise github :) 

Manju
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Sep 14, 2018

This should be available in GA release in about 2 weeks time.

@John Gooch try to use workaround with token - solution

One more bump.  I see in September it should be available within two weeks.  Was there any update to this?

Still waiting 

Bump. It's closed as duplicate but duplicate of what? I don't see a way to do this today. SRCTREE-1104 seems I cannot view.

Any update on this?

I guess that on 3.2.6 version gh enterprise accounts are supported

3.2.6.3544 still not working. user password and GAT.

This is a no go! I cannot recommend this over GitDesktop

It seems as though GitHub Enterprise is still unsupported by SourceTree. Are there any plans to ever change that?

Is there any plan for SourceTree to ever prioritize this functionality?

I was able to use GitHub Enterprise since early 2017 (and before that).  I was not sure what version I used, but after upgrading to Version 2.7.3 (169) recently, I can't no longer able to use it with GitHub Enterprise.  We need this, please!

Brian, try to use workaround with token - solution

It seems as though GitHub Enterprise is still unsupported by SourceTree. Are there any plans to ever change that?

Like WA for SourceTree:

 it's possible to use GHE via access token.

  1. Set up repository uri as https.
  2. Generate new git access token for SourceTree in your GHE account
  3. Enter your credentials on Tools -> Options -> Authentication tab with token instead of your actual account password
  4. If you fail on step 3 then try to edit saved account with set up new password by token value

Did not work for me

After switching to System Git and updating it it started working!!

In case someone needs, Go to Tools -> Options -> Git, select System and Update in the Git Version section.

In addition to the steps above I had to find the password in MacOS Keychain Access and replace it with the Personal Access Token as described here. Otherwise I would always get the SAML 403 error even though I had the Personal Access Token in the account settings in Sourcetree.

Using Sourcetree 4.0.1 with embedded git 2.23.0 on MacOS 10.15.4.

In the latest version hosting service includes 'GitHub Enterprise' but 2FA isn't supported. Could you support it, please?

Just wanted to check if GitHub Enterprise is still unsupported by SourceTree?

create an access token, use that as Password, then setup SSH as normal

I feel like just calling this out here that I highly doubt Atlassian want's to priorize - or even do it at all - because GitHub Enterprise is a direct competitor to their Stash product. GitHub's desktop client is not as feature rich as Atlassian's SourceTree so this is a natural way to try to help point business users to use stash over GH:E.

KieranA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Jan 26, 2014

Hey Ryan,

GitHub is also a direct competitor to Bitbucket, yet we support that :) this isn't anything to do with competition, we're happy to support GH:E accounts, but there hasn't been enough interest in it for us to prioritise it.

Furthermore, SourceTree doesn't stop you from using GH:E repositories at all, you just need to enter the clone URL, which is a one-time thing for a repository, so we don't stop you from using any host whatsoever. You can clone from wherever you want provided you've got access.

There's a number of factors that determine whether we're going to implement a feature; time, interest, awesomeness, and generally whether it's worth it. Because right now users can clone from GH:E it's not inhibiting them from using SourceTree with their GH:E repositories. This doesn't mean we don't think it's important, it just means for the moment they can perform all the actions like they normally can with other repositories, just without having a list of them in their hosted repositories list.

Hope that helps

Hey Kieran, this certainly helps. As I need to be able to provide an easy interface at our faculty that works with our Enterprise version of Git at the university, you just confirmed SourceTree is not an option. If I have to explain that work flow to our students, PhDs and professors, I better find another option. Thank you

Kieran, this is about more than having GH:E repos listed in the hosted repos list.  It's about using SourceTree to directly open pull requests, making it a MUCH more valuable workflow tool.

 

Sorry Kieran but that doesn't cut it.

This is a very popular Google search and there are many forum posts asking about this. There have been many duplicate issues created on both the Windows and Mac versions of the issue boards which specifically ask for this.

Making it work -- according to GitHub's own API documentation -- would be as simple as allowing the users to edit the URL text box when adding a GitHub remote repo to SourceTree.

Atlassian employees comment on those duplicate posts saying that because the post is a duplicate one, the original will be escalated in importance. These "duplicates" have been coming in since 2012 and the one that's remained open is still marked as low priority.

Get one of your interns to change the textbox Active parameter from "false" to "true" and stop BSing your users! It's disgusting. 

As to whether this change is worth it or important to people or how much time it will take....your users have done the research for you. Changing the active status of a UI element is trivial and can be done in minutes. It's a $10 development cost. Open up a GoFundMe project if you don't wanna pay for it.

You guys put more time and effort into dodging the users' request than it would take to actually just implement it.

I could never recommend SourceTree to anyone, knowing that it's made by a company so willing to string people along like this. It has been years of the same cookie cutter responses to the easiest feature request.

Like phil-travelbytes likes this

I 2nd this question!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events