youngmon/atlassian-qna huggingface dataset:
I could not afford to login sourcetree app
Asked by akifebabacan:

Hello everyone,

I am using Windows OS, before update I was using 1.6.18 version. I updated to 1.9.10.0 but could not login. Screen staying please wait.

I've uninstalled many times and set it up again and again. I couldn't find any solution

How can I solve this issue ?

Thanks in helpings

1.PNG

2.PNG  
[](https://community.atlassian.com/t5/Sourcetree-questions/I-could-not-afford-to-login-sourcetree-app/qaq-p/275207?attachment-id=3667){#link_1168972ebfb301}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/8592/1/1.PNG){#display_1168972ebfb301_0}  
[](https://community.atlassian.com/t5/Sourcetree-questions/I-could-not-afford-to-login-sourcetree-app/qaq-p/275207?attachment-id=3668){#link_1168972ebfb301_0}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/8592/2/2.PNG){#display_1168972ebfb301_2}


Answers:
author: syalcin
body: I have same issue here ![sad](/html/@C495B4504065515364EB1894F812B34C/images/emoticons/sad.png "sad")
out of memory
Asked by johnnykuangundam1983:

whenever i clone a private bit bucket repository via source tree in windows 10 machine, it always to be waiting to long and ended with out of memory, is there anyway to overcome this?


Answers:
author: Gonchik Tsymzhitov
body: Please, show me JVM parameters

comments: author: johnnykuangundam1983
body: how I do that in windows machine ? I can print screen if u let me know the steps


author: Gonchik Tsymzhitov
body: Could you provide me **setenv.bat** . in source tree install directory.
SourceTree: Failed to write refresh token to keychain
Asked by KoSKuma:

I'm using macOS Sierra (10.12.2) on MacBook Pro (Early 2011). I have been using SourceTree since last year but this is the first time I am adding my accounts after I clean install my OS. I used to manually clone the repositories one by one.

I just installed SourceTree 2.4 (93) and try adding second account. That's when I found an error.

When I first download SourceTree, the setup process walk me through setting up the first account, which is GitHub account, at that works fine. After that, I go to Accounts in \`Preferences\` and add my second account which is Bitbucket account. I can \`Connect Account\` just fine and my username showed up. I click OK and then go to \`remote\` repository tab to see repository. That's when SourceTree display an error as follow:

Screen Shot 2559-12-28 at 2.39.18 PM.png

I was asked to enter the Atlassian account again. I entered my username and password, but the error still keep coming back.

Then I tried running SourceTree from terminal, and I see that SourceTree cannot write token in keychain as follows:

Screen Shot 2559-12-28 at 2.41.30 PM.png

So it seem that the problem is: SourceTree cannot write to \`Keychain Access\`, except for initial setup.

Are there any solution to this problem?   
Thank you very much!

[](https://community.atlassian.com/t5/Sourcetree-questions/SourceTree-Failed-to-write-refresh-token-to-keychain/qaq-p/425967?attachment-id=12587){#link_116897623e5c1d}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/12723/1/Screen%20Shot%202559-12-28%20at%202.39.18%20PM.png){#display_116897623e5c1d_0}  
[](https://community.atlassian.com/t5/Sourcetree-questions/SourceTree-Failed-to-write-refresh-token-to-keychain/qaq-p/425967?attachment-id=12588){#link_116897623e5c1d_0}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/12723/2/Screen%20Shot%202559-12-28%20at%202.41.30%20PM.png){#display_116897623e5c1d_2}


Answers:
author: aujang
body: I have the exact same problem, and it is infuriating. The latest updates to SourceTree for OSX have broken both this and SSH functionality.


author: Adrian Merwood
body: Same issue here - fails for Github for me


author: Eric Londaits
body: I'm also having this issues and I'm interested in a solution.
reset passphrase?
Asked by Marty Cullen:

This morning I updated Sourcetree.

When complete, it asked for a password (Which it never does under normal circumstances)

I skipped past it a couple times and eventually gave my Mac password

I believe it was asking for the SSH Passphrase - which I have since discovered

This allowed me to access the repository from the command line

But I can not access using Sourcetree

I have verified that the repo still exists, I have permission via SSH key

Is there a way to tell SourceTree the proper passphrase?

I get the following response on a fetch:

git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree fetch origin

Permission denied (publickey).

fatal: Could not read from remote repository.

Please make sure you have the correct access rights

and the repository exists.

Permission denied (publickey).

fatal: Could not read from remote repository.

Please make sure you have the correct access rights

and the repository exists.

Permission denied (publickey).

fatal: Could not read from remote repository.

Please make sure you have the correct access rights

and the repository exists.

Permission denied (publickey).

fatal: Could not read from remote repository.

Please make sure you have the correct access rights

and the repository exists.

Completed with errors, see above


Answers:
author: Marty Cullen
body: I tried deleting the app and reinstalling, but it retained all my settings and the problem persisted.

I found this article: <https://confluence.atlassian.com/sourcetreekb/how-to-wipe-sourcetree-preferences-412484640.html> and removed the settings. When I added my first repo and fetched, it asked for the passphrase (The dialog is not very good at telling you what it is looking for) and now it works.

If there is an easier way that would be nice to add to this issue.
Sourcetree V. 1.9.10.0 allows change branch with uncommited changes without stash them
Asked by Emiregvars:

Hi,

(Sorry for my bad english)

Sourcetree V. 1.9.10.0 Win7

I haven't too much experience with git and sourcetree but, i think this issue wasnt possible on previous versions of Sourcetree.

Steps to recreate it:

1) Two branches: Develop and Master

2) New feature on Develop.

3) Edit multiple files in that feature.

4) Change to develop branch ---\> Sourcetree let me change to develop with that uncommited changes!

AND (really awesome...) I see that changes on develop branch!!

I will surely be doing something wrong...

<br />

Thanks in advance  


Answers:
author: Seth
body: In general, Git will allow the behavior you described as long as the changes are made to a file that is the same between the two branches. If Git allows it, SourceTree allows it.
How to add a complex custom action for sourcetree
Asked by Dominik Bartholdi:

how can I add a more complex custom action like the following to sourcetree?

```
git branch --merged develop | egrep -iv '(master|develop)' | xargs -n 1 git branch -d?
```

while the procedure to add a simple custom action is easy, it seem not possible to do stuff with pipes, any idea how to do that?


Answers:
author: Seth
body: You could put that stuff into a script file, and have your custom action execute the script.
SourceTree 2.4 claims problem with ssh
Asked by Michael_Heins:

Was running version 2.3.2 (75) on Mac OS 10.12.1 just fine. I have repositories on github and bitbucket. After upgrading to SourceTree 2.4, I immediately get this error:

**There is an issue with your SSH configuration**

The SSH configuration for your GitHub account ((null)) is incomplete. Please edit this account to generate a new SSH key.

When I click the Show Accounts button, no accounts are visible.

If I pull the older version 2.3.2 out of the trash and run it, things are working again.


Answers:
author: Marco Krapf
body: same error message in version Version 2.4 (93)


author: tybaldwin
body: Why has the option to use our own keys been removed? I'd prefer to use my own existing keys, rather than generate all new keys.


author: MIke Jackson
body: Every time I open a window for a repository I get the warning message. Which sucks when I am opening and closing 20 repos on a daily basis.


author: Gary
body: Hi Everyone,

With 2.4 we added an option to have SourceTree manage your SSH key per account - it generates the key and optionally adds to your SSH configuration. The warning just indicates when that isn't present. We did not detect existing SSH configurations and map them to accounts you've set up in ST.

Existing/configured SSH users should simply ignore the feature essentially, just set the protocol to SSH and continue on past the error message. **However, users should not be receiving the error message on a regular basis, which they are currently with 2.4.** A new bug has ben created, and assigned to a developer at <https://jira.atlassian.com/browse/SRCTREE-4466>. Please follow this bug for the latest updates on a fix.

Cheers,  
Gary

comments: author: ncr100
body: Thanks for the update Gary. Looking forward to using v2.4 after this bugfix.

Added my 'vote' to JIRA.


author: Pencil Design House
body: I have the same problem, then if I generate a key, then add it to Github in my case it seems not to be working!?


author: olegshilov
body: Hi. I have the similar issue here.  
After upgrade to latest Sourcetree v2.4 (90) i get following error:  
image2016-12-21 17:15:56.png

On Accounts tab in preferences app ask me to generate new keys for each account.

image2016-12-21 17:28:8.png

Seems like Sourcetree don't see my existing ssh key.

image2016-12-21 17:32:59.png

Is it possible to set my own SSH key?


Tags: ssh
Does bitbucket still use Catalina for running as a service on Linux?
Asked by ryan2clw:

I need to know if bitbucket still uses catalina for running as a service on Centos 7.x.

This line would be in addition to your setup instructions:

PIDFile=/opt/atlassian/bitbucket/work/catalina.pid


Answers:
author: Seth
body: Not sure why you tagged this as "SourceTree"...
Why does SourceTree not accept my email as valid?
Asked by Piet Henke:

SourceTree throws a pop-up telling me my email account is an invalid format when I try to set it for git commits. I am forced to use git bash to set the username outside of sourcetree. my email has a dash in it, maybe that throws off a regex check somewhere but it's pretty annoying.


Answers:
author: Piet Henke
body: yes, the dash is in the domain part of my email, maybe yours has too many subdomains or something? I resorted to manually copying my details in the git config file every time I make a new repo


author: Something Something
body: Happens to me as well, very annoying!

Additionally, I set the same address in Tools \> Options \> General, and it's saved there. But still, every time I create a new repo, it asks me again (annoying), it offers DOMAIN\\username as a suggestion (annoying) and then it tells me my address is invalid (annoying).

By the way my address has no dashes, but it has \`noreply.users.github.com\`, maybe existing regexp doesn't consider the possibility that there are such domains (but at the same time I can't believe I'm the only github.com user of SourceTree!)

My email account consists of letters only, so I strongly suspect it's the part after \`@\` that confuses SourceTree.
Sourcetree doen't open after upgrading to last version
Asked by dariobe:

Hello.

Yesterday I've upgraded to the sourcetree latest version and since the upgrade, sourcetree doesn't open.

I've windows 10.

Any idea?

Thanks in advance.

David


Answers:
author: anthonyrevocodez
body: I have exactly the same problem, upgraded today to last version of sourcetree on Windows 10 and setup opens and then closes....
Details of commit missing in SourceTree (see screenshots)
Asked by Wang Yudong:

*This question is in reference to Atlassian Documentation: [Viewing Log/History of a Repository](https://confluence.atlassian.com/pages/viewpage.action?pageId=785615840)*
> By clicking a commit in the graph log, it'll expand to state more details of the commit - Commit's full hash, commit's parents, commit author, commit date, and commit labels/tags, as well as the files involved in the commit.

I remember there should be log details inside the red box by clicking a commit as the question said above. How can I enable the log details?

???? 2016-12-15 11.20.26.png

By "log details", I mean the thing in the following picture, I capture it by right clicking a file and selecting "Log selected ..."

???? 2016-12-15 11.22.19.png


Answers:
author: eelkeblok-os
body: Since there weren't any public answers to be found, I opened a support ticket. I was directed to this page: <https://confluence.atlassian.com/sourcetreekb/how-to-wipe-sourcetree-preferences-412484640.html>

I had tried removing the ApplicationSupport folder myself already, but the delete defaults line did the trick for me. If you don't remove the SourceTree folder but simply rename it, you can restore it afterwards. It's also likely the delete defaults command works without removing the application support folder, but I haven't tried that.

comments: author: Wang Yudong
body: Thanks for the solution Eelke! Deleting defaults command without removing the application support folder also works.


Tags: commit

repository
SourceTree 2.4 failing to use ssh OpenSSH public key with GitLab repo on OSX El Capitan, prompting for git user password.
Asked by Guy Heckman:

Title says it all. No changes on my end except SourceTree updated yesterday. MacPorts installed command line git works fine with same repo.  

Where can I specify which key to use, SourceTree is not picking it up from my environment.


Answers:
author: Guy Heckman
body: Solved.

I'm short on the hows and whats but the why was my OpenSSH identity had been removed from my keychain, I can't say with 100% certainty but I believe and evidence suggests this was related to an OSX update that installed while I was logged in.  

The reason it kept working in the Git CLI was, that it wasn't - I was getting prompted for my passphrase when pushing/pulling and didn't think about it being out of the ordinary since I'm used to that in my Linux terminals.  

For anyone encountering this, add your OpenSSH private key to your keychain by opening a terminal and entering the following.  

```
ssh-add -k [path_to_private_key]
```
Where to download earlier version of Source Tree for Mac?
Asked by Richard Rehl:

I'm on an earlier Mac and in no hurry to dl El Capitan. The current Mac client is 2.4 and won't run on OSX 10.9.5. I've seen others ask this but no answers. Is there not a download site for earlier versions?


Answers:
author: Mikael Sandberg
body: There is no download page for older SourceTree versions, but you could try and change the direct download path and see if it is still alive, http://downloads.atlassian.com/software/sourcetree/SourceTree_X.Y.Z.dmg. Just replace X.Y.Z with the version you want to download.

comments: author: Richard Rehl
body: That'd be great except I have no idea what version to try... Can anyone tell me what the last version was that runs on 10.9.5?


author: Mikael Sandberg
body: I did some research and it looks like 2.1 at least works with 10.9.5.
Log details are missing in History of SourceTree (see screenshots)
Asked by Wang Yudong:

I remember there should be log details inside the red box. How can I enable the log details?

???? 2016-12-15 11.20.26.png

By "log details", I mean the thing in the following picture, I capture it by right clicking a file and selecting "Log selected ..."

???? 2016-12-15 11.22.19.png  
[](https://community.atlassian.com/t5/Sourcetree-questions/Log-details-are-missing-in-History-of-SourceTree-see-screenshots/qaq-p/124692?attachment-id=4169){#link_1172548caf6ad7}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/3692/1/%E5%B1%8F%E5%B9%95%E5%BF%AB%E7%85%A7%202016-12-15%2011.22.19.png){#display_1172548caf6ad7_0}  
[](https://community.atlassian.com/t5/Sourcetree-questions/Log-details-are-missing-in-History-of-SourceTree-see-screenshots/qaq-p/124692?attachment-id=4170){#link_1172548caf6ad7_0}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/3692/2/%E5%B1%8F%E5%B9%95%E5%BF%AB%E7%85%A7%202016-12-15%2011.20.26.png){#display_1172548caf6ad7_2}


Answers:
author: Wang Yudong
body: Please refer to the answer in this question: [Details of commit missing in SourceTree (see screenshots)](https://answers.atlassian.com/questions/45399501/answers/52476029)

In short, by reseting SourceTree preferences, the UI will also be reset and problem solved. I just paste the instruction here:

**Resolution**   
**Mac**   
The following files need to be deleted after they've been backed up.

1. Make sure SourceTree is closed.
2. Make sure the files are backed up in the following folders before removing the files
3. Remove everything in \~/Library/Application Support/SourceTree/
4. If you're using an OS X version before Mavericks: Remove \~/Library/Preferences/com.torusknot.SourceTreeNotMAS.plist (you should be using the direct version of SourceTree, hence "NotMAS")
5. If you're using Mavericks or later, run the following in the terminal defaults delete com.torusknot.SourceTreeNotMAS
6. Open SourceTree again to test if it worked or not.

If this didn't fix your problems then close SourceTree and restore the files, then re-open SourceTree again (if at all possible).

<br />

**Windows**

1. Make sure SourceTree is closed
2. Make sure the files are backed up in the following folders before removing the files
3. Remove files "bookmarks.xml", "opentabs.xml", "userhosts" in C:\\Users\\\<username\>\\AppData\\Local\\Atlassian\\SourceTree\\
4. Remove file in C:\\Users\\\<username\>\\AppData\\Local\\Atlassian\\SourceTree.exe\<random_string\>\\\<version_number\>\\user.config
5. Open SourceTree again to test if it worked or not.

If this didn't fix your problems then close SourceTree and restore the files, then re-open SourceTree again (if at all possible).


author: eelkeblok-os
body: I have the same problem. Have you found a solution? It seems to me the UI can get garbled and it is somehow outside the view, or something.
Error sending chunk details to media api
Asked by smithkl42:

After upgrading to the latest version of SourceTree, some of our devs have started getting this error whenever they try to push updated files to git-lfs storage using SourceTree:

```
Error transferring "e10a8a2142f81ae83cada42034ab9d9082b0426add280b4332f838651defb00d": [17] Error sending chunk details to media api: StatusCode 400 Bad Request from /upload/19027829-d0f2-4ccd-90d5-59300dcfa333/chunks
```

Running the "git push" command manually results in the same error.

```
git -c diff.mnemonicprefix=false -c core.quotepath=false -c lfs.customtransfer.bitbucket-media-api.path=git-lfs-bitbucket-media-api push -v --tags --set-upstream origin feature/ew-ReEnhanceRaters:feature/ew-ReEnhanceRater
```

However, if you remove the "-c lfs.customtransfer.bitbucket-media-api.path=git-lfs-bitbucket-media-api" piece of the command, the error goes away.


Answers:
author: CarlBinneman
body: Attempt to push from SourceTree and view the output log.  
The first line will have the command you need to type into Terminal.  
Leave the part specified in Ken's answer out of the text.  
Hit Enter.


author: [Prv]Yu Kusanagi
body: i troubled with it. thank you for helpful post.


Tags: git-lfs
SourceTree????????????
Asked by ibayashi anri:

???????????[SourceTree????????????](https://my.atlassian.com/products/%3Ca) ????????

404?????????

email:[ibayashi.anri@headwaters.co.jp](mailto:ibayashi.anri@headwaters.co.jp)

SourceTree?????????????

?????????????

<br />


Answers:
author: hanuman6
body: me too


author: Yumi Nakajima
body: ???????????????????????????????????????????Atlassian ????????????????????????

???????????????????????

<br />

???? :

[my.atlassian.com ???"SourceTree????????????" ????????](https://ja.confluence.atlassian.com/sourcetreekb/download-your-sourcetree-license-link-is-broken-on-my-atlassian-com-860006975.html)

comments: author: ken
body: ?????????????????????????????????????????????????????????????????????????????windows64bits????????????????


Tags: language-ja
Sourcetree asking for bitbucket password and I don't have bitbucket
Asked by Johan Nyman:

Why is this and how do I get it to stop?


Answers:
author: Johan Nyman
body: No, I don't have any Bitbucket account there, I'm not sure if I might have had in the past.


author: Mikael Sandberg
body: Do you have an account for it listed under Tools \> Options \> Authentication?
source tree encoding problem osx
Asked by tuunixjukka:

Osx v. Sierra

Source Tree Version 2.4 (89)

Before I used PC/Win7 with repos in a linux with smb share witout encoding problems.  
Now using the same linux repo opened mounted with sshfs into the macbook

Now when making changes into files (php, utf-8) the comment window shows the ? and ? charachters wrong

//liian pitki?? taulunimi??, katkaise

If i change the file to iso-encoding, still shows them wrong with other invalid charachter. In windows was no problem.

Can I make commit without messing everythin up ?

Can I fix this with some setting ?


Answers:
author: Seth
body: You should check the git diff like thinsoldier suggested. If the problem is just with the SourceTree preview, it will definitely be safe to commit - SourceTree doesn't use it's own code to modify your repository, it just calls git commands.

If the characters are messed up in the git diff, the this isn't a SourceTree question, it's a git question. Someone here might still be able to answer, but you'll find a broader audience of experts by posting the question on a stack exchange site or in a git irc.


author: thinsoldier
body: If you do git diff from terminal, are the characters still messed up?

It's possible the source tree's preview is just buggy but the actual data that git itself is working with will be fine.


author: tuunixjukka
body: Also the preview window is blinking 5-12 times when changing into source tree window.
aws: command not found
Asked by david_hofmann:

After updating to the newtest version today I've started getting the following message.

git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags origin master:master

aws codecommit credential-helper $@ get: aws: command not found

When I go to terminal and type the AWS it finds it without issue. I suspect it's a path issue but not sure what up?


Answers:
author: David_Chirgwin
body: This has been fixed in 1.9.10.0


author: David_Chirgwin
body: Several people have the same problem here:

<https://answers.atlassian.com/questions/44919486>

<https://answers.atlassian.com/questions/44901910>

A bug has been raised: <https://support.atlassian.com/servicedesk/agent/STSP/issue/STSP-5534>
SourceTree 1.9.9.20 breaks PATH environment variable
Asked by Nathaniel Aaron Bond:

I recently updated SourceTree to version 1.9.9.20, and it seems to no longer be using the PATH environment variable correctly. In particular, my commit-msg git hook is failing with the following message:

```
/usr/bin/env: 'python': No such file or directory
```

If I modify the script to run as a bash script, and have it \`echo $PATH\`, I get the following:

```
/mingw64/libexec/git-core:/mingw64/bin:/usr/bin:/c/Users/n0030352/bin:/c/Users/n0030352/AppData/Local/Atlassian/SourceTree/gitflow_local/gitflow:/bin:/mingw32/bin:/mingw64/bin:/c/Program Files (x86)/Atlassian/SourceTree/tools:/c/Users/n0030352/AppData/Local/Atlassian/SourceTree/git_extras
```

I get this error using both embedded and system git.

However, if I use the git terminal out of SourceTree, I get the correct PATH variable output, none of which contains SourceTree. I can also commit just fine.

So my guess is that the PATH variable output by SourceTree contains application-specific modification to the PATH variable, which fails to include the rest of the paths. For now I am just going to use [1.9.6.2](http://downloads.atlassian.com/software/sourcetree/windows/SourceTreeSetup_1.9.6.2.exe).


Answers:
author: David_Chirgwin
body: This has been fixed in 1.9.10.0


author: David_Chirgwin
body: This looks the same as my issue:

<https://answers.atlassian.com/questions/44901910>

How do I vote for this? If I follow the link, it says I don't have permission to view the bug.


author: Nathaniel Aaron Bond
body: Created bug report [**STSP-5534**](https://support.atlassian.com/servicedesk/agent/STSP/issue/STSP-5534)