youngmon/atlassian-qna huggingface dataset:
Registration web callback on fresh install of Sourcetree wants to open Tower
Asked by huckncatch:

Installing Sourcetree again after a new OS image (OS X 10.14.2). I cannot get past the Sourcetree registration window where you're forced to register with a Bitbucket account. I have a Sourcetree license file already but there doesn't appear to be a way to use it with the registration window up and you can't close that without quitting the app.

When I click the Bitbucket Cloud option, I sign in to my Atlassion/Bitbucket account on the web (tried Safari and Chrome) and try to grant access for OAuth authorization but the redirect URI wants to open Tower.app and not Sourcetree.app.

Any ideas how to workaround?

Thanks!


Answers:
author: Bivil M Jacob
body: Hi,

I had the exact same issue happening today. I had Tower installed and configured. Today I wanted to install and setup Sourcetree. The registration step of Sourcetree to grant Bitbucket access succeeded, but the browser callback wanted to open Tower and there was no other option. The Sourcetree registration got stuck.

What worked for me is,

In Tower preferences, under integration, there is an option to set the client for Bitbucket and Github. Setting Bitbucket to Sourcetree fixed my issue. PFB.

![Screen Shot 2019-02-05 at 3.57.47 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/44585i38930F714414F41D/image-size/large?v=v2&px=999 "Screen Shot 2019-02-05 at 3.57.47 PM.png")

comments: author: ricardasjak
body: Thank you, this also helped on same issue with Git Fork.


author: bgannin
body: Hi Jim,

We moved away from the license file in early 2016 in favor of an online registration.

The problem you're running into is that Tower is hijacking the sourcetree:// URI which we use not only for cloning but for other uses such as the OAuth authorization callback.

The options that come to mind are:

1. see if there's a preference to turn that off in Tower

2. move Tower to trash and restart (macOS should then choose the next handler)

3. perhaps an [open source defaults app](https://github.com/Lord-Kamina/SwiftDefaultApps) like this?

In addition, I'd recommend contacting them about how they've broken Sourcetree and the issues you encountered.

Brian Ganninger  
Senior Mac Developer, Sourcetree


author: huckncatch
body: Thanks all and apologies... Brian's answer got me going and I didn't post back to the community.

The solution presented by Bivil is what fixed it for me.


Tags: licence

mac

registration
Keep getting Bitbucket Login popup when trying to push/pull. login/passord wont work
Asked by George Wilkins:

Within the last month my connections to Bitbucket through Sourcetree stoped working. I've tried different ways to configure the Source tree login and I keep getting popups for authentication. No matter what i type for authentication it just keeps popping up. I tried email address and the login id of #### (until I changed it to #### ). Please let me know how I'm supposed to configure Sourcetree so that it works with my account. I have no problems loging into Bitbucket directly.

Also, is there an alternative to Sourcetree or Web version that I could use to track and upload changes to bitbucket projects?


Answers:
author: Mike Corsaro
body: Have you tried adding the account via OAuth? Add the account, but under "Authentication" use the drop-down to select "OAuth" and hit "Refresh OAuth Token".


Tags: bitbucket
Don't prompt for username and password
Asked by stevekuo1:

Every time I launch Sourcetree, it prompts me for my Github credentials. I only use Sourcetree for local operations (stage, branch and commit). How can I disable Github from constantly nagging me for my username and password?


Answers:
author: stevekuo1
body: Rolling back to version 2.7 resolves this.


author: Mike Corsaro
body: Under "Accounts" in settings you'll probably see a github account. You can try removing that and seeing if that fixes it.

What version of Sourcetree are you using?

comments: author: stevekuo1
body: I've seen this behavior in version 2.7.4 and 3.0.

Under Preferences - Accounts there are no accounts. It still prompts me for a username/password. The exact prompt is (URL edited out):

![prompt.png](https://community.atlassian.com/t5/image/serverpage/image-id/41584i077EABD14838BFAF/image-size/large?v=v2&px=999 "prompt.png")

My .git/config's \[remote "origin"\] points to a github URL.

Edit: 2.7 does not prompt for Github credentials, 2.7.4 does.
Unable to push to bitbucket repository - wrong username or pass?
Asked by capokrzywa:

I haven't made a commit to my project in a while and now I'm getting an error when I try tp push to my remote repo. Please see the attached error I get when I try to push to Bitbucket. I haven't changed a thing with my remote repo or sourcetree settings since I was using it just fine. It's saying invalid password or username (which I knew wasn't true), but I reset my password anyways. I'm able to log on to Bitbucket via the website.

![2019-01-02 21_29_10-Sourcetree.png](/t5/image/serverpage/image-id/41485i7E1C48EB7D88555B/image-size/large?v=v2&px=999 "2019-01-02 21_29_10-Sourcetree.png")


Answers:
author: capokrzywa
body: What I actually had to do was navigate to C:\\Users\\USERNAME\\AppData\\Local\\Atlassian\\SourceTree and remove the passwd file.


author: Ana Retamal
body: Hi Chris, welcome to the Community!

Maybe the credentials you have stored in Sourcetree have become corrupted. Have you tried re-adding your Bitbucket account following the steps at [Connect your Bitbucket account](https://confluence.atlassian.com/get-started-with-sourcetree/connect-your-bitbucket-or-github-account-847359096.html)?

If that doesn't fix it, I'd try [wiping Sourcetree preferences](https://confluence.atlassian.com/sourcetreekb/how-to-wipe-sourcetree-preferences-412484640.html).

Let us know if that helps!

Ana

comments: author: capokrzywa
body: Thanks for the reply Ana. I actually ended up finding the solution via some more searching and reading another post.

What I actually had to do was navigate to C:\\Users\\USERNAME\\AppData\\Local\\Atlassian\\SourceTree and remove the passwd file.
How to add an Azure DevOps GIT remote repository
Asked by Allen Ashe:

We have our central repository in the azure cloud (dev.azure.com/.....) I downloaded SourceTree 3.0.12 and when I try to add a remote repository the "Hosting Service" shows a number of BitBucket, GitHub selections and one Visual Studio selection but nothing for Azure. I've tried a number of the ones that allow entering a URL but they keep failing to login. Usually it comes back with user/email was not found.

I'm trying to login with my PAT that I created in Azure.

Which of the Hosting Service should I select and what login credentials should I be using?


Answers:
author: edgariscoding
body: Seems like adding a hosting account from Azure DevOps is broken. It fails to authenticate despite creating a PAT with full access.

comments: author: Kevin Herrera
body: same here. every so often I attempt to connect it to see if its been fixed, but not yet.


author: dfinandrew
body: I'm having the same issue. I can only clone the project through visual studio, and only after I manually went into the certificates and copy pasted my own into the file.

I get the error:

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks fetch origin  
fatal: unable to access '<https://work.visualstudio.com/Venue/_git/reponame/>': SSL certificate problem: self signed certificate in certificate chain  
Completed with errors, see above.

I can't use any type of logging in method, SSL Username, anything. I even added the certificate to the root certificates (which also doesn't work with visual studio). Why is Azure DevOps so difficult to work with in sourcetree?


author: Ana Retamal
body: HI Allen!

Have you tried the VSTS option? When you click there, you'll also find a [link with extra help](https://docs.microsoft.com/en-us/azure/devops/organizations/accounts/use-personal-access-tokens-to-authenticate?view=vsts) in case you need assistance creating a new PAT, for example.

Let us know if that helped you!

Cheers,

Ana

comments: author: Allen Ashe
body: I tried the VSTS option also with no luck. What finally worked (sort of) was I used GIT Bash to clone the remote repository to my local and then added the local repository to SourceTree.

The one thing not working is when you click on the "Remote" button in the tool bar. It wants me add a host type, host root url, and username. I tried several different settings but I just get a blank browser page for everything I have tried.


Tags: azure
Why is Sourcetree useless after update?
Asked by Ralph Deffke:

I wanted to use ST for a new project after haven't it opened for a long time. Opening it gave me the message that some update failed. I could not connect to my Github account. The authenticate popup kept coming up every 3 second.

I deinstalled Sourcetree and installed the newest version from scratch. Still same problem, but user and password to Github were correct.

I created some new accounts with the same Github account in ST and deleted them right away. Now I can login through ST, well means If I refresh the password in the edit hosting account pop up I get now 'Autentication OK'

HOWEVER, nor the organisations (mine) remote repros are listed nor can I clone or create a new repo.

This look pretty poor for an Atlassian software even for free.

As it seem to work for others I would like to get help to fix the issue on my side.


Answers:
author: bgannin
body: Hi Ralph,

In order to provide assistance we need additional information.

\* What platform are you on?

\* What version of Sourcetree are you using?

\* Are you using SSH or Basic Auth (user/pass) for your connections?

Brian Ganninger  
Senior Mac Developer, Sourcetree
Error sourcetree
Asked by David Sanchez:

When I start SourceTree, this message always appears:

Invalid release entry: 7C20078B2B045E2C881187E39009FD85284F4E83 SourceTree-3.0.15-full.nupkg 23991659

why?

Thanks


Answers:
author: David Sanchez
body: Hi Ana!!

I am on windows.

At this moment I can not do a clean installation because I am in the middle of a big development ...

My sourcetree version is 2.1.11.0

Thanks!!

comments: author: Ana Retamal
body: Hi David!

Installing a newer Sourcetree version will not have any effect on your code, as your files are hosted on your computer, not in Sourcetree.

If you still don't want to install the new version, can you let us know if you have automatic updates enabled or disabled?

Cheers,

Ana


author: David Sanchez
body: Hi Ana!

I have automatic updates enabled.

Thanks!


author: Ana Retamal
body: Hi David!

Are you on Windows or Mac?

Is this a fresh install? If not, can you try downloading the latest version from <https://www.sourcetreeapp.com/>? Are you getting the same error after that?

Please let us know so we can pinpoint where the error is coming from.

Cheers :)

Ana

comments: author: Magnus Bj?rklund
body: The problem is with version 3.0.15, but on sourcetreeapp.com you can only download the older 3.0.12 version. It seems that the 3.0.15 is only slowly rolled out to users via the automatic updates.

I have now reported this issue as [https://jira.atlassian.com/browse/SRCTREEWIN-11147](https://jira.atlassian.com/browse/SRCTREEWIN-11147 "SRCTREEWIN-11147") so hopefully someone will take a look at it.
Unable to log into sourcetree, reset password 3 times
Asked by Stanley Chilton:

i'm trying to pull my bit bucket repo however, upon trying it prompted me for a login, this i have done many times before but this time it seems that my password wasn't working, i reset this password and then tried again although this still didn't work, i can for some reason log into the website using the password but not the source tree program.   
anyone have any suggestions?  
or is anyone else having issues?


Answers:
author: bgannin
body: Hi Stanley,

Our apologies for the hiccup; we'll need a few more details to provide guidance.

\* what platform are you on?

\* what version of Sourcetree are you using?

\* are you using SSH or HTTPS for authentication to a repository or performing REST actions like listing your repositories?

Brian Ganninger  
Senior Mac Developer, Sourcetree

comments: author: Stanley Chilton
body: I'm on windows  

version 2.3.1.0  

HTTPS I believe


author: Stanley Chilton
body: plus if its any help, i can also sync my laptop using the same password and that so yeah I'm not getting the password wrong


Tags: bitbucket
Is there a way to sort the unstaged changes by date-time on SourceTree ??
Asked by Char Cahill:

It would be very useful feature if it existed . Or is any other way to do that through git ??


Answers:
author: Stephen Sifers
body: Hello Char and welcome to the Community!

Your idea is a good one, and the better news is you're not the first to want this. There is a feature request which covers what you're looking for. You may find that feature request at [SRCTREEWIN-6751](https://jira.atlassian.com/browse/SRCTREEWIN-6751). We would suggest you vote and watch this request to receive future updates on its status.

Regards,  
Stephen Sifers


Tags: date

time
Unable to authenticate to BitBucket repository
Asked by Abir Stolov:

I'm able to log-in to the bitbucket.org portal

and use the credentials on the options-\>authentication

But on repository operations it doesn't accept those credentials.

Am I missing something here?


Answers:
author: Gonchik Tsymzhitov
body: Hi!

Have you checked access for the repo from bitbucket UI?

It will be good if you provide more detail info, like logs

Cheers,

Gonchik Tsymzhitov

comments: author: Abir Stolov
body: Not sure what do you mean by *bitbucket UI*.

On SourceTree-\>Edit Hosting Account -\> Refresh Password

I get Authentication OK

On git Command line *Push* to bitbucket , it requests the password and accepts it.

On SourceTree *Push* to bitbucket It get

```
git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks -c credential.helper= -c credential.helper="C:/Users/Abir/AppData/Local/ATLASS~1/SOURCE~1/GIT_EX~1/GIT-CR~2.EXE" push -v --tags origin master:master
fatal: HttpRequestException encountered.
 An error occurred while sending the request.

remote: Invalid username or password
fatal: Authentication failed for 'https://abirstolov@bitbucket.org/vaica/deviceapi.git/'

Pushing to https://abirstolov@bitbucket.org/vaica/deviceapi.git
Completed with errors, see above.
```


Tags: bitbucket-cloud
Source tree Import all sources
Asked by ???:

![3.png](/t5/image/serverpage/image-id/41316i0AE830393D24DCBD/image-size/large?v=v2&px=999 "3.png")![2.png](/t5/image/serverpage/image-id/41317i0B18B84B279F8B5A/image-size/large?v=v2&px=999 "2.png")

When I first run the source tree

The source tree scans all sources in all user files (C: \\ user \\ cyh12). RAM is too large during source reading, causing the computer to hang. I do not know how to solve it. i try fix it, delete, reinstall it, sign out, and sign in again. I want to import only the source in the particular repository. When you use the original source tree, do you read all the sources in your computer all the sources? Is this normal?

I'm sorry I did not speak English well.


Answers:
author: minnsey
body: Hi  

Sourcetree will only do this if it finds a .git folder in one of its parent folders, e.g. somewhere in   
c:\\users\\{username}\\appdata\\local\\Sourcetree  

It is usually a mistake to have a .git folder in any of these.


Tags: bitbucket
Not works correct for several days.
Asked by uladzimir.shyshkin:

Hi,

Could you please check what happen with source tree or bitbucket. It works not correct for several days...it always shows errors during pulling, commits and etc. ![bitbucket.png](/t5/image/serverpage/image-id/41268iD582D6AC25B4DEF0/image-size/large?v=v2&px=999 "bitbucket.png")


Answers:
author: jredmond
body: The message says it's a timeout - that system is unable to connect to bitbucket.org. Can you get to Bitbucket through a browser there? Is there a proxy you need to configure?
SourceTree fails to start
Asked by Ketan Vadhavana:

SourceTree stopped working after Windows 10 updates. I tried deleting Atlassian, SourceTree folder, reinstalling etc. but no luck.

It just doesn't pass through splash screen. I can see Windows reporting tool running in Task manager as soon as I launch the SourceTree. So it seems it is crashing but I am not sure how to fix.

Can anyone please help?

Thanks


Answers:
author: Ana Retamal
body: Hi Ketan, welcome to the Community!

When you removed Sourcetree, did you follow the instructions at [How to wipe Sourcetree preferences](https://confluence.atlassian.com/sourcetreekb/how-to-wipe-sourcetree-preferences-412484640.html)?

You said it doesn't pass the splash screen? What do you mean by that? Can you send a screenshot?

Can you also let us know which version of Sourcetree do you have?

Best regards,

Ana
Create pull request (Gitlab CE)
Asked by MM:

Hi! I have some problems create pull request in source tree (v3.0.12) for Gitlab CE. I successful add my "Gitlab CE" account with personal access token. In settings\>remote account I select my Gitlab CE account. When I select Repository\>create pull request... \> create pull request On Web, I get the 404 error (page not found). I get this URL:

[http://myserver.local/git@myserver.local/IG/SIIG/merge_requests/new?merge_request\[source_branch\]=develop](http://myserver.local/git@myserver.local/IG/SIIG/merge_requests/new?merge_request[source_branch]=develop)

Without the first server name, just git@.... the URL works. How can i solve this problem? Is a bug?


Answers:
author: minnsey
body: Hi  

This looks like a bug could you raise a ticket at <https://jira.atlassian.com> please?

comments: author: MM
body: Done. <https://jira.atlassian.com/browse/SRCTREEWIN-11179>


Tags: windows
Sourcetree Citrix Deployment
Asked by Nathan Maxfield:

Is it possible to install Sourcetree in Citrix? We are running into an issue where Sourcetree wants to authenticate to a Git server during install. If an IT analyst installs Sourcetree in Citrix under their credentials, can other users utilize the application? Is there a way to bypass the authentication during install or provide a config file for each user?

Thanks!


Answers:
author: bgannin
body: Hi Nathan,

It sounds like the [Enterprise distribution](https://www.sourcetreeapp.com/enterprise) is what you're looking for.

Cheers,

Brian Ganninger  
Senior Mac Developer, Sourcetree
Source tree on Mac cannot working by using special ssh key
Asked by Tr?n ??c L?n:

Let's say that :

we are using :

mac osx 10.13.6

source tree 3.x

git 2.17.x

We have : x projects with using ssh for each for identifying.

so we have x difference ssh private keys.

There is no problem if we getting use terminal and ssh to do anything with git by few command :

```
MacBook-Pro:~ lantranduc$ eval $(ssh-agent -s)

Agent pid 1157

MacBook-Pro:~ lantranduc$ ssh-add ~/.ssh/privatekey1
Identity added: /Users/lantranduc/.ssh/privatekey1 (/Users/lantranduc/.ssh/privatekey1
```

then we can interaction with remote repo by typing command one by one on terminal ( wow ... )  
but problem come when we want to use source tree for manage our repositories. We cannot identifying ourself by just putting ssh keys in .ssh folder like old versoin of source tree and mac OSX.

so, can you give me some advice on how to make them work together ?   
i dont wanna typing git command everytime i need to do someting with git anymore.

Thank you


Answers:
author: bgannin
body: Hi,

Did you get a chance to check out [this post](https://community.atlassian.com/t5/Sourcetree-questions/Sourcetree-Loosing-SSH-key-on-MAC/qaq-p/957284) yet?

Thanks,

Brian


Tags: mac
SourceTree graph does not show branches
Asked by bwinter_flypelican:

I have read the other threads on this topic and still don't understand whats happening with the graph view. I have master, develop and feature branches. As can be seen in the screenshot I have master and develop at tag 1.0. I have then created a new branch, modified a file and **committed** the change in the **feature/goldcoast** branch. So that means that **feature/goldcoast** is in a different state to **master**.

I expected to see a new branch appear in the graph line in Sourcetree, instead it simply shows the same blue line.

What aren't I understanding here ? feature/goldcoast is a new branch that has diverged from master / develop.

Sourcetree 3.0.1 (205)

![_Users_brantwinter_support_flypelican_it_website__Git_-2.png](https://community.atlassian.com/t5/image/serverpage/image-id/41136iEC00D7BDBF73EA08/image-size/large?v=v2&px=999 "_Users_brantwinter_support_flypelican_it_website__Git_-2.png")


Answers:
author: bwinter_flypelican
body: If I make a change back on the develop branch I then do see the graph change.

Why doesn't the graph change when I make a change on feature/goldcoast resulting in that branch being different to develop ?

![Screen Shot 2018-12-26 at 2.25.56 pm.png](https://community.atlassian.com/t5/image/serverpage/image-id/41137i7BBB2477621A509F/image-size/large?v=v2&px=999 "Screen Shot 2018-12-26 at 2.25.56 pm.png")


Tags: graph
Auto Populate Confluence fields based on Information in Jira
Asked by Dan Allenby:

Is it possible to populate certain fields within confluence with data that has been populated in a Jira ticket?

I have a templated confluence page, automatically create upon ticket being created in my kanban board. What id like is for the confluence page to be automatically completed via the relevant information that is included within fields of Jira ticket such as:

Customer Name

Account Manager Etc


Answers:
author: Laura Campbell _Seibert Media_
body: Hi [@Dan Allenby](/t5/user/viewprofilepage/user-id/4227104) Not sure what you have in mind in terms of "fields" in Confluence (do you mean cells within a table?), but the easiest way to do this is with a app. [Check out what's available on the Marketplace](https://marketplace.atlassian.com/search?query=create%20page%20from%20jira).

comments: author: Dan Allenby
body: Thanks [@Laura Campbell _Seibert Media_](/t5/user/viewprofilepage/user-id/3327113) , yeah I meant cells.

I will check out Marketplace. Thank you.


Tags: cloud

confluence-cloud