youngmon/atlassian-qna huggingface dataset:
Roll back to previous version of SourceTree after automatic upgrade
Asked by Tom Plunket:

Since the shift to auto-updating in the 2.x line it's been nice to get fixes every once in a while to annoyances however the 2.1.2.4 update today is again completely useless as it takes the better part of a minute for the app to finish merges whether a merge tool is used or a "resolve using mine/theirs" is used and generally it takes a pretty long time for any changes to be reflected in the UI.

Anyway, the previous version was markedly better than the ones before it so now I'd like to return to that version.

Other questions on this topic provide information only relevant to the 1.x line. Since SourceTree can update itself maybe it'd be useful to put in a version selector as well so that users can roll back when releases like this happen (which seems to be somewhat regular, sadly).


Answers:
author: Ana Retamal
body: Hi Tom! If you'd like to go back to a previous version you'll need to download and install it. You can use this link <https://downloads.atlassian.com/software/sourcetree/windows/ga/SourceTreeSetup-2.0.20.1.exe> and replace it with the version you'd like to get.

Regarding your last comment, if you'd like to have a version selector you're welcome to submit your idea as a feature request at [jira.atlassian.com](https://jira.atlassian.com/secure/Dashboard.jspa) by clicking on **Create.**

Hope this helps!

Ana


Tags: windows
Sourcetree - crashes computer on start up
Asked by Monica Gotelaere:

I've done a full uninstall (appdata etc) and clean reinstall no less than 5x with the latest sourcetree and I'm having terrible luck. I have created my repositories fresh every single time. And granted I'll give you that I'm a new user to git (which is the only reason why I'm staying with sourcetree) so I don't understand a lot of the nuances here.

I have linked my bitbucket source in sourcetree. I have cloned. I have opened my files in .net studio, built my project, viewed on the web. Perfect.

I close and leave for the day come in the next day and I get an empty tab in sourcetree that is trying to do I don't know what. I close the tab. I get my repositories but they're empty the ones that are supposed to be there) and I nothing in my folders. There's no branches there's information. It's like the link is gone. Then as I watch in my task manager my processes go up and up and up and my machine crashes. Every. Single. Time.

I've closed Sourcetree and waited until my processes stop, I've had 10-15 git.exe processes going at once. I don't know what the heck it's doing but I'm not doing anything. I'm not clicking around in Sourcetree. I followed the instructions. My coworker (who uses git, not sourcetree) set up the bitbucket and can't help me with the sourcetree aspect.

I had zero difficulty with previous versions. I haven't been able to function in the new version I have lost productivity. It would have been easier to scrap Sourcetree and use git by itself.

Help or I'll have to find another approach today.


Answers:
author: Mike Corsaro
body: Hello! Sorry to hear you're experancing this issue. First, please try upgrading to 2.1 and see if the problem is resolved (<https://downloads.atlassian.com/software/sourcetree/windows/ga/SourceTreeSetup-2.1.2.4.exe>). If not please provide the following:

* Some info about your system. PC specs, OS version, etc.
* A video of the problem occuring, if possible. If you're using Windows 10, you can press WIN+G and use the Xbox recorder to make a video (if it asks if SourceTree is a game, just say 'yes')
* Is the problem only occuring with a specific repo, or all of your repos?
* Lastly, could you go to Tools\>Options and uncheck the "Refresh automatically when files change" and "Refresh when application is not in focus" setting?

Thanks!

comments: author: Monica Gotelaere
body: Mike - That was exactly what I ended up doing - unchecking the refresh automatically and it seemed to help tremendously.

I will update the software tomorrow when I'm back in office. thanks for the response. As a side note, after I posted this it worked again for the afternoon. We'll see tomorrow. :)
Atlassian Sourcetree is so slow, absolutely horrible
Asked by David Parham:

Every time i uninstall, reinstall, and load, all it does is free. Horrible! Any suggestions? Nothing in the Event Log, I hear it might be a Git problem. I am supposed to perhaps turn off some kind of filtering. Problem is that the app is too slow to ever click on anything useful. Really need to get some work done/frustrated.


Answers:
author: Alexander Pakizh
body: If you use submodules you can have big troubles with slow SourceTree work when switching between branches

See:

<https://community.atlassian.com/t5/SourceTree-questions/Recursive-submodule-checkout-on-every-branch-switch/qaq-p/211723#M15038>


author: Ana Retamal
body: Hi David! We need more information to continue helping you (not good to be published publicly, such as logs for example), so we've created a ticket in our Support system in your behalf. You should have received a notification in your email, please check it and follow up with us via the private ticket :)

Thanks!

Ana

comments: author: ChunNorris
body: Hi, SourceTree 2 is also very slow for me.

Even when clicking tool -\> options, it took 30 secs to open the option menu, and then another 30 secs to close it.

My PC is perfectly fine when using other softwares, including SourceTree 1.X, and it occurs on both of my PC so I suppose that its not my PC's problem.

Anyway, I'm willing to provide my logs to you. Can you also create a ticket for me? (and some instructions on what kind of logs you need.) Thanks you.


author: chhabs
body: What version are you using? If you're using Windows, have you tried version 2.0? We introduced a ton of performance improvements. Check out this blog post that outlines everything we've done to make 2.0 the fastest version of SourceTree yet: [SourceTree 2.0 for Windows -- 3x faster than SourceTree 1.9](https://blog.sourcetreeapp.com/2017/05/05/sourcetree-2-0-for-windows-3x-faster-than-sourcetree-1-9/)

comments: author: David Parham
body: thank you so much for your reply! version is SourceTreeSetup-2.0.20.1. it does not seem to be a simple speed thing. i install it and run it and immediately the hourglass spinner runs and runs. now and then i can click on something...like it is checking something in the background. it makes doing anything, prohibitive. i honestly don't know what to ask. i heard there is a setting i can change, some filter to ignore unstaged files or something like that, but it is so slow i cannot get any action in. ideas?


author: Mike Corsaro
body: Hey David -- can try and [install 2.1](https://downloads.atlassian.com/software/sourcetree/windows/ga/SourceTreeSetup-2.1.2.4.exe)and also try the following:

In options, uncheck "Refresh automatically when files change"

In options, uncheck "Refresh when app is not in focus"

Additionally, if you can record a video (that doesn't contain sensitive info), that would help too!

Thanks!
After upgrading to sourcetree 2.0.20.1, I keep getting asked credentials for mercurial repos
Asked by lfflima:

I upgraded today to Source rtee 2.0.20.1, after the upgrade, I keep getting asked for the login credentials for my smercurial repositories.

Before the upgrade, the credentials were stored, and I never got asked for them

Any hint?

Regards


Answers:
author: rrudnicki
body: Hi Luis,

1- Can you provide us more details about it?

2- What do you have installed as a credentials manager?

3- Do you have multiple repos hosted on the same server/service? / Do they all share the same credentials?

If you are using Windows Credentials Manager, can you open it and under the Windows Credentials check for any entries keyed with the "hg:" prefix. Does it look like the credentials you are entering are stored there?

Cheers,   
Renato

comments: author: lfflima
body: Hello, I do not think I have any credentials manager installed, at least that I have explicity installed.

I have multiple repos in the same server.

I have one mercurial account, and one bitbucket account in the same instalation of mercurial. The bitbucket works fine.


author: lfflima
body: looking at the Windows credential manager, I can see my bitbucket credentials, but there is no "hg:" prefix in any entry


author: jyo
body: Hi Luis,

Thanks for bringing this up. We're currently investigating a bug with the newer builds of SourceTree, specifically those with Mercurial installed and using Git Credentials Manager. Please follow along here: <https://jira.atlassian.com/browse/SRCTREEWIN-7116>

Also, can we ask if you are using more than one account?

comments: author: lfflima
body: Hello, I have one mercurial account, and one bitbucket account in the same instalation of mercurial. The bitbucket works fine.


Tags: credential

mercurial

password

user
Why does the new update turn off my wifi?
Asked by AlexKarlsen:

After installing the new version of source tree my wifi kept disabling. The only thing i did to fix it was uninstalling source tree. I do not know where to report the bug, so it is posted here as a question.


Answers:
author: Nic Brough -Adaptavist-
body: Weird one!

But there's <https://support.atlassian.com/contact/> - raising a support request will get it turned into a bug if appropriate.
How do I display a commit timestamp in 24 hour instead of AM/PM?
Asked by Marcus Hultgren:

I can not find out how to switch between 24 hour and AM/PM. I am pretty sure I had it working a couple of months ago, showing 23:53 instead of 11:53 PM.

[http://imgur.com/Vle9xsi](http://imgur.com/Vle9xsi "Image of SourceTree Client")

![Screen Shot 2017-05-31 at 15.54.27.png](/t5/image/serverpage/image-id/1729i2D4D834055EDD17D/image-size/small?v=v2&px=200 "Screen Shot 2017-05-31 at 15.54.27.png")


Answers:
author: bgannin
body: We made a change several updates ago for the following:

* use relative formatting (Today, Yesterday, 2 days ago, etc.)
* respect the language chosen for SourceTree

As such, the date formatting follows the settings for that locale. We're aware of interest in independent control of this setting. There's a ticket or two floating around <https://jira.atlassian.com/browse/SRCTREE> that are ready and waiting for votes.

Brian Ganninger  
Senior Mac Developer, SourceTree

comments: author: Marcus Hultgren
body: So basically the 24-hour mode is inaccessible for me because there is no Swedish locale and I do not master any other language beside Swedish and English?


author: Marcus Hultgren
body: Added a vote for <https://jira.atlassian.com/browse/SRCTREE-4698> btw.


Tags: date

mac

time
Updated files not updated when tab is not active - 2.1.2.3
Asked by Gareth Thackeray:

Hi I just upgraded to 2.1.2.3 this morning.

I'm finding that if you change a file in a repository that is not the active tab, the commited file list does not show the file when you select the tab. If you save the file again it refreshes.

Thanks


Answers:
author: rrudnicki
body: Hi Gareth,

A few questions/things to try:

* Create a new text file with a single line in it, and see if it shows in the diff view
* Check the "Default Text Encoding" setting on the Options menu. Have them try UTF-8 and see if the issue still occurs.
* Check the Diff settings on the Options menu (mainly the text size limit -- the files he's trying to diff may be very large)

Lastly, can you confirm if you have some submodule on that repo? I'm asking this because you may be facing [this bug.](https://jira.atlassian.com/browse/SRCTREEWIN-7112)

Cheers,

Renato
SourceTree on Mac is crashing while trying to remove selection of 3000+files
Asked by nikolai Grybov:

SourceTree is crashing while trying to remove 3000+ files, removes about 500 files and crash.  
Vesion: 2.5.2 (111)

macOS Sierra version 10.12.5


Answers:
author: bgannin
body: Sorry about that, please file a ticket on <https://jira.atlassian.com/browse/SRCTREE> with details and we'll take it from there.

Brian Ganninger  
Senior Mac Developer, SourceTree
Sourcetree doesn't see that Git LFS is tracking files
Asked by Codespartan:

Happened across all repos today. When I try to commit files larger than 2 MB, I get a warning in Sourcetree that the file isn't tracked by LFS. (spoiler alert: it's tracked just fine)

The .gitattributes tracks this file extension, and always did.

I go into command line and make a commit in there, then I push and I can see that it's using LFS just fine to upload the files.

"**git lfs track** " and "**git lfs ls-files**" confirm this. Changing from System Git to Embedded Git doesn't help. Updating system git and lfs doesn't help. Reinstalling Sourcetree and rebooting doesn't help.

The problem may have started after the latest update.


Answers:
author: Mike Corsaro
body: Hello! Can you get a picture of the warning? That would help narrow down what's causing the issue. Thanks!

comments: author: Codespartan
body: Sure,

![036565ddea89fa61add1a7516d2eb21b](https://community.atlassian.com/t5/image/serverpage/image-id/1777iCCB37C2BB24D7D86/image-size/large?v=v2&px=999 "036565ddea89fa61add1a7516d2eb21b")


author: Codespartan
body: Removed "lockable" yesterday from all files that lfs is tracking and noticed today that the problem is gone. Coincidence? Probably not.


Tags: git

git-lfs
Branch name in commit detail
Asked by ki11en:

Hello.

In previous versions of Source Tree branch name was included in commit information which I used for copying. How can I get branch name now?

![image.png](/t5/image/serverpage/image-id/1712iF51E5906D63B6133/image-size/large?v=v2&px=999 "image.png")


Answers:
author: Mike Corsaro
body: Hello! This info was removed in 2.0, but will be re-added in a future version. Sorry about that.
Why does a command window periodically pop up and disappear after installing SourceTree?
Asked by Ethan Stern:

I recently updated from one of the 1.9 versions to 2.0. After that install process, (what looks like) a command window pops up on my screen once every several minutes, then disappears faster than I can even read the title bar. I have uninstalled all prior versions and restarted. Any ideas? This behavior is making me very nervous.


Answers:
author: Mike Corsaro
body: Hello! If you've uninstalled SourceTree and this is still happening, then it's probably not related to SourceTree. Please see this and see if it solves your problem:

<https://www.thurrott.com/windows/windows-10/117215/tip-kill-suspicious-pop-windows>

Thanks!

comments: author: Ethan Stern
body: Thanks, Mike. It did stop happening recently and I wasn't sure if it had to do with a SourceTree update or something else. Turns out the default "blame Mircrosoft for everything" policy actually holds up in this case.
Unable to clone a Mercurial repo by URL
Asked by Ralph Shillington:

I'm trying to clone a mercurial repo (hosted by Kiln). It's been working fine for months, but recently I replaced my workstation with a new iMac downloaded and installed the latest SourceTree and now this:

Error calling askpass for username: 2017-05-29 20:42:02.381 SourceTreeLogin\[13924:1807324\] \*\*\* Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '\*\*\* -\[NSPlaceholderMutableString initWithString:\]: nil argument'

\*\*\* First throw call stack:

<br />

I'm at a loss on how to troubleshoot this. I'm using the embedded mercurial, but have installed (via homebrew) the lastst and have no problem cloning the repo in question from the terminal.


Answers:
author: bgannin
body: This should be fixed, are you still experiencing it with 2.5.2 (111)? If so, please follow up via a ticket on <https://jira.atlassian.com/browse/SRCTREE> and we'll follow up further.

Brian Ganninger  
Senior Mac Developer, SourceTree


Tags: mercurial
Retrack untracked and commited files/folder
Asked by Aur?lien Borst:

I've untrack a list of files with :

Files Status -\> Right Clicks on my files -\> Stop tracking

I get this message on my modalbox : "The following files will be removed from version control but will remain on your disk"

I click OK, I made a commit and a push it on Bitbucket.

Now, how can I add these files back to tracking and to my repo ? Because I cannot see them event if I select "All files" in my files status panel.

Thanks again !


Answers:
author: minnsey
body: Hi,  

If you select the 'Untracked' filter the file should be visible, alternatively search for the file by name using the search box in the upper right of the File Status view should find the file regardless of its status.
Not able to make a new pull request on source tree.
Asked by harpreetsinghh:

Hi ,

<br />

I am not able to make a new pull request on source tree.  
But I am able to login on UI.  
It gives an error :-

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

remote: Too many invalid password attempts. Try logging in through the website with your password.

fatal: unable to access 'path of remote repo': The requested URL returned error: 403

Completed with errors, see above


Answers:
author: harpreetsinghh
body: Hi Michael,

Thanks for your valuable inputs, we are using Sourcetree for Macbooks. Can you please tell me how to troubleshoot in that.

Highly appreciate your response.

Thanks!!


author: minnsey
body: Hi,  

It looks like there is an invalid password stored by SourceTree and t is being used to try and access the Bitbucket REST API, after a number of failed attempts the REST API will lock you out and you need to login via the website to reset the login process. You will need to do that reset anyway, but before then it is worth trying to remove the credentials SourceTree is trying to use.  

In SourceTree for Windows open the Tools/Options/Authentication tab and reset or remove any entries relating to Bitbucket and the account you are trying to use.
What's the purpose of this search box (see attached image)?
Asked by capjan:

It seams the search box has no effect in Version 2.0.20.1

![SourceTree_2017-05-29_14-40-25.png](https://community.atlassian.com/t5/image/serverpage/image-id/1652i11598D17306867D7/image-size/large?v=v2&px=999 "SourceTree_2017-05-29_14-40-25.png")


Answers:
author: Mike Corsaro
body: Hello! That search box searches the files in your uncommited changes. It currently doens't do anything if you're viewing another commit.

comments: author: capjan
body: Hello Mike,   
thanks a lot. "in your uncommited changes" was my missing context.


author: Liam Drew
body: Really?

I'm using 2.3.1.0 on Windows.

I'm trying to find some text within an Uncommitted change, so I was thinking that Search box looks like a good place to start.

All that seems to happen is that 'Pending files, sorted by file status' gets changed to 'All files, sorted by file status', and a heap of files appear in 'unstaged files' :![atl1.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/6466iC9D49E43082B1DC0/image-size/large?v=v2&px=999 "atl1.PNG")

Try to search for 'fba' (there is a file called FBA_BRIU.trg under library, that includes fba inside the file too, and yes, I've tried 'FBA' with the same results)

![atl2.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/6467i44DC2354363D2B61/image-size/large?v=v2&px=999 "atl2.PNG")So can anyone tell me how to actually search the file contents of current uncommitted changes?

Thanks
mercurial: hide closed branches in the sidebar
Asked by Gordon Tisher:

SourceTree 2.1.2.3 for Windows with a Mercurial repo now shows all my closed branches in the sidebar. How do I only show active branches?


Answers:
author: Ana Retamal
body: Hi everyone! This issue was reported as a bug at [SRCTREEWIN-7189](https://jira.atlassian.com/browse/SRCTREEWIN-7189). You can watch that ticket to receive future updates, or leave a comment there.

Hope this helps!

Ana


author: Chris D
body: I am experiencing the same problem since updating to version 2.1.2.3

comments: author: Mikhail Belov
body: 2.1.2.4 - problem still exists


author: Gordon Tisher
body: Here is a screenshot demonstrating the problem.

This is a test repo cloned from elsewhere with hg-flow set up. There are currently 3 open branches, "default", "develop", and "branch1". However, the sidebar still shows "feature/branch2".

In my actual repo, the sidebar shows hundreds of old feature branches.

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

comments: author: Dmitry Selitskiy
body: Confirming the same issue since the latest update


author: minnsey
body: Hi  

I'm afraid I can't reproduce the behaviour you describe, see the attached image, my closed local branch is not listed in the sidebar.  

Have I misunderstood your scenario?  

![Capture.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/1676i229E68DB1DBC98AE/image-size/large?v=v2&px=999 "Capture.PNG")


Tags: mercurial
SourceTree shows long list of branches
Asked by Jaakko H?nninen:

Last week there was less than 10 branches, but now closer to 100. Is it showing already removed branches? Version updated today to 2.1.2.3. Older version was also 2.x -version. Mercurial is used here.


Answers:
author: Ana Retamal
body: Hi Jaakko! This was reported as a bug and you can find it at [SRCTREEWIN-7189](https://jira.atlassian.com/browse/SRCTREEWIN-7189). Please watch that ticket to be notified of further updates, you canalso add a comment if you have any questions.

Best regards,

Ana
Sourcetree GUI bug
Asked by Oleg Iaremchuk:

Hi. After updating to last version I got this GUI bug. Suggestions how to fix it?![SourcetreeBug.png](/t5/image/serverpage/image-id/1647iDEEDB42EF44DA67C/image-size/large?v=v2&px=999 "SourcetreeBug.png")

Reinstalling does not resolve issue. Note: Resolution 1920x1080, Windows 10 x64


Answers:
author: Ana Retamal
body: Hi Oleg! This is a known bug and was reported at [SRCTREEWIN-7091](https://jira.atlassian.com/browse/SRCTREEWIN-7091). Our developers are already working on fixing it, you can watch that ticket to receive further updates on its resolution.

Hope this helps :)

Ana
SourceTree set up stops after registration
Asked by ?yvind Nilsen:

When I try to install the latest Source Tree version, 2.0.20 for windows, the install wizard runs fine until I have completed the registation step. Then when I click the "continue" button nothing happens.

Does anyone have an idea on how to complete the install?


Answers:
author: ?yvind Nilsen
body: Wiping the Source Tree preferencaes solved the problem:) Thanks for quick answer!!

?yvind

comments: author: Ana Retamal
body: Glad to hear that, ?yvind!

Have a nice day :)

Ana


author: Ana Retamal
body: Hi ?yvind, have you restarted Windows to make sure the installation completed correctly? If you had a previous version of SourceTree, please uninstall it and [wipe the SourceTree preferences](https://confluence.atlassian.com/sourcetreekb/how-to-wipe-sourcetree-preferences-412484640.html).

If you're still not able to continue, please let us know whic Windows version are you using.

Best regards!

Ana


Tags: administration