youngmon/atlassian-qna huggingface dataset:
Can't install SourceTree for Windows
Asked by JoyfulSoftware-new:

Up to yeterday everything was fine. Yesterday SourceTree became unable to locate git on my Windows 10. I tried to update it - without success. I uninstalled it, and now can't install it back with the following error: <http://prntscr.com/gh82f7>. I do remember my password, I can log in to atlassian.com.

Any ideas how to install SoureTree back?

PS: I tried to install 2.1.11, 2.1.10 and 2.0.20.


Answers:
author: Ana Retamal
body: Hi Joyful, please follow the steps for a clean uninstall below:

1. [Wipe SourceTree preferences](https://confluence.atlassian.com/sourcetreekb/how-to-wipe-sourcetree-preferences-412484640.html).
2. Uninstall SourceTree (if it shows on the App\&Features list)
3. Backup then delete the directory below before proceeding with next step
   * Navigate to C:\\Users\\\<UserName\>\\AppData\\Local and delete *SourceTree* \& *SourceTree-Settings* folder
   * Navigate to C:\\Users\\\<UserName\>\\AppData\\Local\\Atlassian and delete all SourceTree Files/Folder.

After that, you can [download SourceTree](https://www.sourcetreeapp.com/) and install it.

Once SourceTree is installed, open Internet Explorer, go to the *Advanced options* tab, click on *Reset your Internet Explorer Settings* and check *Delete personal settings* This seemed to work for other users that were experiencing the same problem when loging to their Atlassian account.

Let us know if this worked for you!

Cheers,

Ana

comments: author: JoyfulSoftware-new
body: Hi Ana,

Thank you for the answer, but it doesn't help.

Here is the line from sourcetree.log:

ERROR \[2017-09-05 13:08:44,946\] \[1\] \[SourceTree.App\] \[.ctor\] - finish EnsureSquirrelExecutionStubIsCopied

Denis


author: Art Box
body: Same as my problem - same repeated error in log entries.

I just ran trough the cleanout suggested and retried - no difference.

Installer still fails to get past login showing red bar with following text: "We've encountered a problem. Please try again in a few minutes."

Seems there is an error with the Atlassian server? It did get past login once (during lots of install/login attempts) but showed 404 error when trying to download required resources:

"*Download of Git Credential Manager for Windows - Fork from <https://downloads.atlassian.com/software/sourcetree/windows/gcmw-v1.12.0.zip> failed because: System.Net.WebException: The remote server returned an error: (404) Not Found* "


Tags: windows
I can't get past the local repositories screen
Asked by Ruud de Ruijter:

Whenever I start up sourcetree I get a windows with my local repositories and some buttons like: Remote, Clone, Add and Create. How do I open my local repository, I can see it just sitting there, but when I click/double click on it, nothing is happening.![zdCX1iJhTdugjOsDn8HBog](/t5/image/serverpage/image-id/5622i1C187AD5796F3E57/image-size/large?v=v2&px=999 "zdCX1iJhTdugjOsDn8HBog")


Answers:
author: Ana Retamal
body: Hi Ruud, have you tried the 'Add' button? Click on it and then you should be able to navigate to the repositories and get them in SourceTree.

If you're still having difficulties, let us know which version of SourceTree and OS are you using.

Regards!

Ana
Install SourceTree without Internet connection
Asked by gabrielagrisel:

I need to install Source Tree for my suppor team but wihtout internet access,

Is there any way to do the installation without the registration?


Answers:
author: Ana Retamal
body: Hi Gabriela, offline installation for SourceTree it's not available. Every user will need to register the product using an Atlassian account, once that step is completed, they'll be able to use the product without an internet connection.

We are tracking feedback on this specific request at [SRCTREE-3593](https://jira.atlassian.com/browse/SRCTREE-3593). You can add your comment there if you'd be interested to see this feature implemented in the future.

Cheers,

Ana
My Sourcetree is bugged, I have already tried to delete all the settings and it still does not solve
Asked by leoluzp:

You developers spoil the software by creating one million files and records on the system, which are not deleted during uninstallation. Totally irritating. I'll go back using the default git. The idea of Sourcetree is great, but the application doesn' work.


Answers:
author: Ana Retamal
body: Hi Leonardo, you can try doing a clean uninstall following the steps:

- Windows

1. [Wipe SourceTree preferences](https://confluence.atlassian.com/sourcetreekb/how-to-wipe-sourcetree-preferences-412484640.html).
2. Uninstall SourceTree (if it shows on the App\&Features list).
3. Backup then delete the directory below before proceeding with next step
   * Navigate to C:\\Users\\\<UserName\>\\AppData\\Local and delete *SourceTree* \& *SourceTree-Settings* folder
   * Navigate to C:\\Users\\\<UserName\>\\AppData\\Local\\Atlassian and delete all SourceTree Files/Folder.

- Mac

1. [Wipe SourceTree preferences](https://confluence.atlassian.com/sourcetreekb/how-to-wipe-sourcetree-preferences-412484640.html).
2. Uninstall SourceTree.
3. Delete the directory \~/Library/Application Support/SourceTree.

If you'd like to install it again, you can download it from [our site](https://www.sourcetreeapp.com/).

Hope that helps!

Ana

comments: author: leoluzp
body: I've tried all this, and it still did not help. I suggest that ALL configurations be stored inside the executable directory, to avoid those insolvable problems that will only happen with specific clients and will not have to tidy up without reinstalling the operating system.
upgrade to 7.2.6 active sprints and backlog are gone
Asked by Daniil Titkov:

Can't found a ForcePush option in 1.8.3.0 version of JIRA. Any help with this ?


Answers:
author: Ana Retamal
body: Hi Daniil, reading your title looks like you're referring to JIRA features, but looking at your description it looks like you're referring to some older version of SourceTree. Can you clarify your question?

If you're referring to SourceTree, go to **Preferences \> General** you will find a checkbox with the text "Allow force push". Check this to enable force push in SourceTree. Now when you push, there will be a "Force push" checkbox on the bottom left of the dialog that comes up. If you don't see that option, you'll need to update SourceTree to a later version.

If you were referring to JIRA, please make sure you post your question under the JIRA product so it's more likely to be answered.

Best regards!

Ana
What does the command line tools do in source tree?
Asked by Alex:

Hello,

I just installed the command line tools of source tree. I just typed:

```
$ stree --help
Usage: stree [--help] [path]
```

So what options do I have with stree?

I noticed that if I do stree on a repository it opens the bookmark on sourcetree and if I do stree on any folder not related to a bookmark it opens sourcetree. Is that all?


Answers:
author: Ana Retamal
body: Hi Alejandro! The command line tools basically allows you to start or switch to SourceTree from the command line by typing "stree". You can do some actions, like opening a repo for example, but you wouldn't be able to trigger a pull request.

Cheers,

Ana

comments: author: Liam Hennessy
body: Are there any actions other than opening a repo?
Mysterious account
Asked by romarain:

Hi,

I've never signed up in Atlassian nor SourceTree. I didn't know you until today.

Today, I've for the first time installed SourceTree on Windows, and not only it didn't asked me where I wanted to install it (it installed somewhere on my hard-drive), but :

- Once installed, it asked me to log in. I had two choices : one was to connect through Atlassian, and when I clicked on it, it opened my web browser.

- And what a surprise to see that I had an account on Atlassian. I checked up on my LastPass, and didn't see any entry for that. I didn't do nothing except clicking on that button through the fresh installed login panel of SourceTree on my desktop.

So, how is it possible that I'm in your database ?


Answers:
author: romarain
body: Ok, I've created a Bitbucket account today, and it seems that... it is related to Atlassian. -_- My bad !
no verification email redeived
Asked by Prashant Khanna:

Verify your email address - Atlassian account  

We've sent you a verification email. {#toc-hId-1761988692}
----------------------------------------------------------

**An email has been sent to *pkhanna@esurance.com*.**

**I am on this screen, but haven;t received any email even after clicking n resend many times..**


Answers:
author: Maarten Cautreels
body: Hi Prashant,

It might be obvious, but just to be sure. Have you checked your spam folder?

If yes, do you have any idea what mail system is being used @esurance.com? Could there be some spam filter (fe.: IronPort) in front of it, filtering emails?

Best,

Maarten

comments: author: Prashant Khanna
body: hi, i checked the spam ,,,there is nothing in spam..

my other team mates got this email and they are able to install source tree


author: Prashant Khanna
body: can you do something from backend to verify my email ..i can go to next steps..
SourceTree and the new git "multiple working tree" support
Asked by David Blickstein:

As of git 2.5 one can have multiple working trees within a single clone of a repo.  

I have two questions:

1. In the absence of SourceTree support what will changes in a second working tree look like in SourceTree? That is, does it confuse SourceTree and show staged/unstaged changes from BOTH working trees? Neither? Does SourceTree crash? Is this supported/safe to do?
2. When will SourceTree support this. I consider this to be one of the most significant new git features in years. I do see that SourceTree seems to NOT be at git 2.5 so I understand that is part of what's needed.

If you have no idea what I'm talking about, you can read this[intro to multiple working trees.](https://stacktoheap.com/blog/2016/01/19/using-multiple-worktrees-with-git/)


Answers:
author: minnsey
body: Hi  
SourceTree doesn't explicitly support Worktrees, but it is something we'd like to do in the future. However it will work with them.  

You can add Worktrees as additional bookmarks in SourceTree.  

SourceTree currently ships with Git 2.14.1

comments: author: RickC
body: So, it's October, 2022 - five years since this original question/answer -- and still SourceTree has no support for git worktrees.

Any updates here?


author: Alice
body: Almost six years on... any updates?


author: RickC
body: ...and now we approach 7 years without response... any updates here [@minnsey](/t5/user/viewprofilepage/user-id/502201)?


author: minnsey
body: While it's a feature I'd still like to see, I'm afraid I no longer work on the Sourcetree product.


Tags: mac
Cant Install SourceTree Rejects Atlassian Username Password
Asked by Sara Szwaja:

Working in Windows, I've downloaded sourcetree.

As part of the SourceTree installation instructions I need to enter in my Atlassian username and password. At which point I get the error message "We've encountered a problem. Please try again in a few minutes". Been a few days and still the same message.

My atlassian username, password works in the atlassian website so I am able to access my account. But the username password does not work for the SourceTree install process.  


Answers:
author: Ana Retamal
body: Hi Sara, can you open Internet Explorer, go to the *Advanced options* tab and click on *Reset your Internet Explorer Settings* and check *Delete personal settings*? This seemed to work for other users that were experiencing the same problem.

Let us know if it worked for you!

Best regards,

Ana

comments: author: Sara Szwaja
body: Hi Ana,

Unfortunately that did not work. I reset my internet explorer settings and deleted personal settings. But I am still not able to get past the enter in the username and password portion of the install instructions with the message "We've encountered a problem. Please try again in a few minutes."

Any other recommendations?

Sara


Tags: install
How do I delete an old unused bookmark in Sourcetree?
Asked by Louise Ryan:

I am new to using Sourcetree and struggling a bit! Are there any good tutorials out there? Are there any manuals? When I click on the "help" option within source tree, I get an error saying that the url is broken.

I have a couple of specific questions

1) What does "refresh" do in Sourcetree?

2) I decided to reclone a Respository I am working with and then deleted an old version that I had messed up anyway. I just deleted the local directory on my computer. However, the bookmark is still showing up for this old repository on Sourcetree. How do I make it go away??

Thanks in advance if someone cares to answer :)


Answers:
author: minnsey
body: Hi the 'Help/Get started with SourceTree' menu option should take you here: <https://confluence.atlassian.com/get-started-with-sourcetree> Hopefully that is of some use.  

Is that the link you say is broken? Can I ask waht version of SourceTree you are running?

'Refresh' effectively triggers a git status call, assuming you are using git, The information from this is used to refresh the UI. There are then some additional calls made to git to get the lists of branches, stashes, the log etc.

If you are using the Windows version, right clicking on the 'bad' bookmark shoudl give you a context menu allowing you to delete the bookmark.

comments: author: Louise Ryan
body: Thanks for your reply Michael! We are using version 1.9.6.1. This is not something I have control over since I am part of a larger project where Sourcetree is one of the tools provided for us in a cloud-based Windows virtual environment.   

I think one of my challenges is that I have a Macbook, but am logging into a Windows virtual environment so "right-click" is hard to do!

Again, much appreciated :)
Invalid username or password and push succeeds for a couple times and then fails, requiring re-auth
Asked by Ian Chan:

Every push generates the authentication warning below but the push works. However, after several times, it will stop working with an error about too many login attempts and I have to re-enter my Bitbucket credentials. I do not have 2factor on.

This started happening with a Sourcetree upgrade that took place within the last 2-3 weeks. Only happens on Mac.


Answers:
author: jyo
body: Ian,

What is the auth and the protocol used for auth? (i.e. SSH / OAuth)

Also, is your URL different than the protocol used for authentication (for example.. HTTPS?)

comments: author: Ian Chan
body: Thanks Jesse, your answer pointed me in the right direction. I messed up the setup of SourceTree on my new laptop.After changing account authentication to Basic and SSH, the error no longer appears.


author: jyo
body: No worries! Glad we could help


Tags: authentication

mac
How to get SourceTree for Windows to work with the version of Git LFS that's already installed
Asked by yfede:

**I have Git LFS (ver. 2.2.1) already installed on my computer** in

C:\\Program Files\\Git LFS

as a result of having run the installer downloaded from its official site at <https://git-lfs.github.com/>

**the question: How do I get SourceTree for Windows to use that version, rather than the one that is embedded with it?**

(which is ver. 2.0.2, as shown below)

I have searched settings for that but couldn't find any.

My current version of SourceTree for Windows is 2.1.11.0

![Screen Shot 2017-08-31 at 16.18.06.png](/t5/image/serverpage/image-id/5492iD802F4B86D8A724F/image-size/large?v=v2&px=999 "Screen Shot 2017-08-31 at 16.18.06.png")

**What I have attempted:**

I have searched my disk for copies of git-lfs.exe, and found:

C:\\Program Files\\Git LFS\\git-lfs.exe  
C:\\Users\\info\\AppData\\Local\\Atlassian\\SourceTree\\git_extras\\git-lfs.exe

The first one is the one I have installed, the second one seems to be the one used by SourceTree.

To check that, I checked its version to check that it matched the one reported by SourceTree, and it does

```
C:\Users\info\AppData\Local\Atlassian\SourceTree\git_extras>git-lfs version
git-lfs/2.0.2 (GitHub; windows 386; go 1.8; git 85e2aec4)
```

Then I tried to move that copy of git-lfs.exe away from that folder, to see if that tricked SourceTree into using the system one instead.

Surprisingly, that seemed to work (see image below), **BUT**

**![Screen Shot 2017-08-31 at 15.57.09.png](/t5/image/serverpage/image-id/5493iABA0BA7A55149F12/image-size/large?v=v2&px=999 "Screen Shot 2017-08-31 at 15.57.09.png")**

**BUT**now every time I open a repository with LFS enabled, I am greeted with the following dialog:

![Screen Shot 2017-08-31 at 15.56.26.png](/t5/image/serverpage/image-id/5494i28498BA2911899E8/image-size/large?v=v2&px=999 "Screen Shot 2017-08-31 at 15.56.26.png")

and there seems to be no way to tell it to remember my decision NOT TO install embedded Git LFS.

I admit that this whole stuff feels like a workaround.**The real way to get this right would be to do it as in the macOS version, where there is a separate set of buttons to choose whether to Use Embedded git-lfs, or use the system one.**


Answers:
author: minnsey
body: Hi,  

Yes the situation you describe is correct.  

Another workaround would be to copy the 2.2.1 version in to the git_extras folder.


Tags: git-lfs

windows
How can I fix "Invalid Email Format" for "User Details you wish to associate with your commits"?
Asked by Sean White:

Every time I enter my email in the email field for what user details are associated with my git commits, it reports that it is in an invalid format when it is not. Other times, it simply prompts me again when I press okay, but blanks the email field.

My email is in the format "sean.white@\[company\].com"![2017-08-31 08_59_38-SourceTree.png](/t5/image/serverpage/image-id/5504iEEBD9F9F179A5304/image-size/large?v=v2&px=999 "2017-08-31 08_59_38-SourceTree.png")


Answers:
author: minnsey
body: Hi,

There seems to be an intermittent bug in that dialog. You shoudl be able to set the same information in Tools/Options/General tab as 'Default user information'

comments: author: Sean White
body: Weird thing is I already have that information entered, but I'm still being prompted.![2017-08-31 09_33_18-Options.png](https://community.atlassian.com/t5/image/serverpage/image-id/5505i5B3BFD6393A6FE31/image-size/large?v=v2&px=999 "2017-08-31 09_33_18-Options.png")


author: Sebastien Dan
body: I also face this issue, even if my information is already right in Tool/Options/Genetal tab


author: minnsey
body: Hi  
We're tracking this issue here <https://jira.atlassian.com/browse/SRCTREEWIN-6758>
What is the purpose of creating a remote git branch from JIRA?
Asked by Edward Stembler:

I noticed in JIRA you can create a remote git branch for your BitBucket repository. I did this, however, I don't fully understand why I would want to do it.

For example, now when I return to my local source code and try to check out the remote branch I get a warning about having a detached head:
> You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout.
>
> If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example:
>
> git checkout -b \<new-branch-name\>

So does this mean I'll have troubles committing my changes to the branch and merging to master?

I can also checkout the remote branch under a different local name. JetBrain's IDE had this option. But here again, I'm not sure if this will cause problems committing and merging.

I'm coming from GitHub where I'm used to just creating my branches on local, committing them, pushing them, and then merging with master on GitHub.com.

What's the benefit to creating the remote branch? What's the workflow?


Answers:
author: Jonas Andersson
body: You generally clone a repo, and work and test code in a local branch before merging it back, either as a release branch or back to master.

Check out this guide: <http://rogerdudler.github.io/git-guide/>

comments: author: Edward Stembler
body: Sure, that's the way I've worked with git for the past 7+ years.

I was just wondering what the purpose of creating a remote branch from JIRA is? It seems like it causes more trouble.


Tags: bitbucket

git

github

jira
Source Tree : Discard all changes made after a certain commit point
Asked by Rishab:

Hi In SourceTree, I need to discard all 8 changes made to my Develop branch (commits done) since yesterday.

What is the best option for me to do this?

I do not need to keep any changes made since then.

![SourceTree Query.jpg](/t5/image/serverpage/image-id/5479iEF9D7D18C2574EC7/image-size/large?v=v2&px=999 "SourceTree Query.jpg")


Answers:
author: jyo
body: Hi Rishab,

If you don't care about any of those recent commits, you're best bet is to do a 'git reset' on the commit you want to point back to. (i.e. reset commit branch to this commit)

Be careful, as this is a destructive operation, and you won't be able to get any of those commits back.

Cheers,

Jesse


Tags: git
Source Tree unforgivingly prompts to sign into Visual Studio
Asked by chris del:

When Source Tree is open on Windows 7, and this is all-day, every-day, a prompt comes up asking for a sign into Visual studio. I don't have VS nor have I ever used it.

There are two possibilties that come to mind- 1. It is on this machine somewhere in the background and I cannot access it. It's a work computer and a previous user might have had it installed. If so does anyone know how I could check this? i.e safe-mode etc. Obviously I checked that it is not installed visibly/normally in my environment.

2. More likely, since I have pulled from some remotes that have a Visual Studio origins, and I have done this many times, it associates my end with the VS orgin and sends the prompt.

If I close the prompt it immediatley opens again, and again, and

again, ad nauseaum. Literally ad nauseum!

This only happens with Source Tree and it is iffuriating. Does anyone know how I can stop it from continually opening once I've closed it?


Answers:
author: jyo
body: Hi Chris,

Can you check to see if there is a link to Visual Studio under Git Credentials Manager? I believe there are screenshots on how to remove the settings here: <https://stackoverflow.com/questions/15381198/remove-credentials-from-git>

Sounds like Git is trying to open VS upon opening SourceTree, or something of that sort.

comments: author: chris del
body: Hi,

It took me some time to look into this. I disabled the credential managers like the SO post said. This did nothing. The screenshots show how to disable my credentials entirely. Not sure if this would work, but I don't actually want to do this, unless it might solve the problem.

Also, I have my windows credentials manager open and there is no Visual Studio info. There is some bitbucket, some github and a bunch of MS office stuff. Prob used for logging into company stuff.

This VS prompt has actuallt gotten worse and now opens 4 windows. Only way to work is to have the VS studio prompt behind other windows.

Other ideas? Impossible to work like this.


Tags: bitbucket

visual-studio

windows