youngmon/atlassian-qna huggingface dataset:
Set git-credential-manager.exe path - Error introduced with update 2.6.6.0
Asked by Thomas Flinkow:

Since the new update 2.6.6.0 I cannot fetch, push or pull anymore.  
I always get

```
C:/Users/Thomas: line 1: syntax error near unexpected token `('
C:/Users/Thomas: line 1: `[23C0:232C][2016-12-18T13:06:59]i001: Burn v3.7.2002.0, Windows v6.3 (Build 9600: Service Pack 0), path: C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.VisualC.Redist.12,version=12.0.21005,chip=x64\vcredist_x64.exe, cmdline: '/q /norestart /log C:\Users\Thomas Flinkow\AppData\Local\Temp\dd_setup_20161218124046_407_Microsoft.VisualC.Redist.12.log -burn.unelevated BurnPipe.{36C00955-38E5-484D-8567-FF727B2DF90C} {CA205743-F988-4A86-BD25-CEBE5D43A9BB} 9360''
```

I was able to narrow down the search for the cause of the error and found out that it is **due to a whitespace character in my user folder name**, i.e. this is the fetch command

```
git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks -c credential.helper= -c "credential.helper=C:/Users/Thomas Flinkow/AppData/Local/Atlassian/SourceTree/git_extras/git-credential-manager.exe" fetch --prune --tags origin
```

And the error occurs because of the whitespace character in

```
credential.helper=C:/Users/Thomas Flinkow/AppData/Local/Atlassian/SourceTree/git_extras/git-credential-manager.exe
```

The error did not occur before the update and I need to find a fix as soon as possible to continue with my work.

I thought about simply moving the git-credential-manager.exe to another location not containing whitespace characters, but I could not find an option to specify its path in Sourcetree.

How can I set the git-credential-manager.exe in Sourcetree? I do not want to have to use the console whenever I want to fetch, push or pull. As it is right now, Sourcetree is almost unusable.


Answers:
author: minnsey
body: Hi  

Yes unfortunately we didn't pick up that use case in our testing.  

We have a fix in progress, for now I would suggest downgrading to v2.5.5 [https://downloads.atlassian.com/software/sourcetree/windows/ga/SourceTreeSetup-2.5.5.exe](https://downloads.atlassian.com/software/sourcetree/windows/ga/SourceTreeSetup-2.5.5.exe?)  

and watching for updates <https://jira.atlassian.com/browse/SRCTREEWIN-8777>

comments: author: Stephen Peterson
body: This is still an issue in version the latest version 2.6.6. I have the EXACT same problem as described by the gentleman above, a white space in the path to my user folder. In my case C:\\Users\\Stephen Peterson

Once downgrading to v2.2.5, everything is OK


author: minnsey
body: If you upgrade to 2.6.9 it should now be fixed.


author: koostinskyd
body: Had the similar problem with "git-credential-manager.exe" but not the same. Sorry just can't delete the comment.

In case of changed password app didn't prompt for the new one, just reports about faulted attempts of the pull command. (2.6.6, 2.6.9)


Tags: bug

credential

error

update

windows
Sourcetree Proxy Configuration - HTTP 407 Error
Asked by Steve Macleod:

I am attempting to configure Sourcetree from behind my proxy. I am using v 2.5.5.0

I am getting:

Command: git -c diff.mnemonicprefix=false -c core.quotepath=false ls-remote https://\<\<repo\>\>  
Output:  
**Error: fatal: unable to access 'https://\<\<repo\>\>': Received HTTP code 407 from proxy after CONNECT**

Note, I have configured the proxy settings in Options \> Network. I have also entered the username and password.

![Capture.PNG](/t5/image/serverpage/image-id/24509i5A53E2C931BC3A39/image-dimensions/471x393?v=v2 "Capture.PNG")

I am using the system GIT.

I can run the clone successfully from the command line when I set the proxy via:

git config --global http.proxy http://\<\<username\>\>:\<\<password\>\>@\<\<server\>\>:9090

I also believe that Sourcetree is not setting the username/password correctly, as when I run

git config --global --get http.proxy

I get:

[http://10.83.75.3:9090](http://10.83.75.3:9090?)

Note, the username and password details are not included.

Can you advise how I should configure my proxy from Sourcetree?

Thanks


Answers:
author: Mike Corsaro
body: Hello! I can confirm this is an issue in the latest builds. I'll file a ticket internally for it. As a work-around you can use the git config command to set the proxy -- just uncheck the "add proxy server config to git" before running it.

comments: author: Steve Macleod
body: Thanks Mike. Can you confirm back when there is an ETA for a new build which fixes this bug?


author: Rajas Pandharkar
body: Was there ever a fix for this ? In the latest builds of sourcetree, there is not even an option to set proxy details


Tags: proxy
How do I merge a subtree using Sourcetree?
Asked by Jeff Osia:

I am new to GIT and I am trying to do what I was doing in SVN with externals. Any help is appreciated.


Answers:
author: Mikael Sandberg
body: Have a look at <https://www.atlassian.com/git/articles/alternatives-to-git-submodule-git-subtree> and <https://mirrors.edge.kernel.org/pub/software/scm/git/docs/howto/using-merge-subtree.html>

I would also recommend <https://www.atlassian.com/git/>, it has a lot of helpful tutorials and articles.

comments: author: Jeff Osia
body: Thank You. I still cannot find what I am looking for. Maybe subtree is not the right solution for the problem. I am trying to share a project between 2 .NET solutions. When I change code in 1, I want the code to change automatically in the other.


author: Jeff Osia
body: Is the command line the only option for merging subtrees using Sourcetree?


author: Mikael Sandberg
body: Git subtree will not change the code automatically, it creates a copy of the subtree so you can make changes to it and then push it back to the subtree if you want to share your changes.

The closest to automatically update the code between two solutions would be symlinks. Check out <https://github.com/git-for-windows/git/wiki/Symbolic-Links#creating-symbolic-links>. You would still have to push/pull manually to make sure your repositories are up-to-date.


author: Jeff Osia
body: Thank you very much. I will check it out.


author: Mikael Sandberg
body: You can merge subtrees from within Sourcetree too, it does not have to be done from the command line. It has been a while since I used it, but I did notice that when you upgrade Sourcetree it used to loose the connections to the subtree repositories so you would have to manually add them back, not sure if this has been fixed yet.


author: Jeff Osia
body: I noticed that today. My subtree was not there when I pulled up sourcetree. I will try upgrading. Thank You.
SourceTree not showing up in Windows program menu
Asked by Syeda Rahman:

When I install SourceTree 2.5.5 and change the installation path to my Windows C drive instead of my user profile, is it not listed in the programs menu. So user has no way to launch after installation. Same when I install SourceTree Enterprise version.


Answers:
author: Ana Retamal
body: Hi Syeda! You should not change the installation path for Sourcetree, as it is meant to be in the user profile.

Regarding the Enterprise version you can change it by modifying the parameter `INSTALLDIR,` which will allow you to configure where the executable lives. For more information, please read [Sourcetree Enterprise installation](https://confluence.atlassian.com/sourcetreekb/sourcetree-enterprise-and-msi-installation-947848769.html).

Let us know if you have any questions!

Best regards,

Ana


Tags: windows
Sourcetree keeps popping up the bitbucket login over and over like every 5 minutes
Asked by Lewanna Rathbun:

I know for an absolute fact that ALL of my Bitbucket logins are correct. This just started happening after an upgrade and now it pops up literally like every 5 minutes. I can put in my login credentials.. it comes back. I can cancel it.. it still comes back. I've removed every last authentication and recreated them.. and then checked them again and they're all correct.. still pops up. I've set every last one of the Bitbucket logins as the default.. no effect.. still pops up. Help... it's so annoying and will pop up while I'm typing other things... when I'm presenting... you name it. I'm using the System Git because I read that will fix it. It doesn't. I've tried both Embedded and System Git versions.. neither has any effect. It just pops up

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

and in task manager it says that it's Git Credential Manager for Windows

![git.PNG](/t5/image/serverpage/image-id/24408i4E12830D47F0276C/image-size/large?v=v2&px=999 "git.PNG")

running from here:

C:\\Program Files\\Git\\mingw64\\libexec\\git-core![gitprops.PNG](/t5/image/serverpage/image-id/24410iF228FF28F1F519F3/image-size/large?v=v2&px=999 "gitprops.PNG")Help.


Answers:
author: Mike Corsaro
body: Hello! I *think* this issue is being caused by [this issue](https://github.com/Microsoft/Git-Credential-Manager-for-Windows/issues/651), which was very recently fixed. Could you try using the version we just released and let me know if it fixes this? [You can find it here](https://downloads.atlassian.com/software/sourcetree/windows/ga/SourceTreeSetup-2.6.6.exe)

comments: author: Jakub Rak
body: Still happens to me, Iam on 2.6.10


author: Jakub Rak
body: After spending 2 hours on this, trying everything others have posted I finally tried **run as administrator** and it worked.


Tags: windows
SourceTree - multiple computers - same user?
Asked by k_benson:

I installed and used Source tree on DEV-BOX-A.

When I try to install on DEV-BOX-B - it will not proceed past entering my Atlassian LOGIN email address.

We use CLOUD - so can't use the url.

When I enter my email address and click 'continue' for just a moment a pencil icon flashes above the box where I entered the email address -then it returns to the screen - and does nothing else.

I cannot get past this point on my DEV-BOX-B ... please help.


Answers:
author: k_benson
body: Well - I found the problem  
<https://jira.atlassian.com/browse/SRCTREEWIN-7244?_ga=2.204388752.1632869879.1529098634-848787622.1528474762>  

... alluded to in this, actually found by a co-worker.

This DEV machine - had IE9 on it - never used, never updated.  
SourceTree requires IE10 (min) installed.  


author: Manju
body: What version of Sourcetree and on what OS is this?

comments: author: k_benson
body: SourceTreeSetup-2.5.5.exe

Installed successfully on Win7Pro, 64-bit (DEV-A)

Installed successfully second Win7Pro, 64-bit. (DEV-C)

Attempted to install on Win7Enterprise, 32-bit yielded the results, above. (DEV-B)


Tags: licence
SourceTree "abort: could not lock working directory of" error when PULLing changes
Asked by Adam Bohil:

Hello,

It's been a few months since I've used SourceTree, but this time it's throwing an error when I try to PULL changes for existing local repos:

```
hg pull -u C:\Users\me\AppData\Local\Temp\l5rpcxmz.xkc
pulling from C:\Users\me\AppData\Local\Temp\l5rpcxmz.xkc
abort: could not lock working directory of C:\Users\me\Documents\Source Code\MyProject: Permission denied
pulling from C:\Users\me\AppData\Local\Temp\l5rpcxmz.xkc
abort: could not lock working directory of C:\Users\me\Documents\Source Code\MyProject: Permission denied
pulling from C:\Users\me\AppData\Local\Temp\l5rpcxmz.xkc
abort: could not lock working directory of C:\Users\me\Documents\Source Code\MyProject: Permission denied
pulling from C:\Users\me\AppData\Local\Temp\l5rpcxmz.xkc
abort: could not lock working directory of C:\Users\me\Documents\Source Code\MyProject: Permission denied
Completed with errors, see above.
```

There have been no user changes on my local machine. Both the working directory and the .hg file have "full control" permissions for my user, the administrator's group (of which I am a member) and "SYSTEM". Also, I'm able to login to Bitbucket and access repos just fine. In fact, I'm able to clone successfully with TortoiseHg. Additionally, I've attempted to run SourceTree as admin with the same result.

When I open a new tab in SourceTree (btw, I'm using the latest version - v2.6.3.0), click the "remote" option, right-click my username and "Edit Account", the window shows "Authentication OK" immediately. However, I'm unable to clone repos and get the following error:

```
hg clone https://my_username@bitbucket.org/MyOrg/myOtherProj "C:\Users\me\Documents\Source Code\TEST3"
abort: C:\Users\me\Documents\Source Code\TEST3\.hg\00changelog.i: Access is denied
Completed with errors, see above.
```

"Access is denied" and "Permission denied" seem to point to a permissions issue, but I'm not sure where to look at this point. I'd appreciate any point in the right direction.

Thanks!


Answers:
author: Mike Corsaro
body: Hello! This sounds like it could be an anti-virus issue. Can you try just running that same clone command, but from the command-line in the destination directory?

comments: author: Adam Bohil
body: Thanks for your reply, Mike!

I was able to clone the repo via the command line. I was also able to clone it using TortoiseHg.
Sourcetree creates 1KB BASE file while merging
Asked by A. Cemal ?zl?k:

Hello,

Sourcetree creates 1KB BASE file while merging and merging is hence not possible. Command git merge-base commit1 commit2 returns the base commit that is of correct size (over 100 MB).

What to do to be able to merge, hence access the base file ? Does this have something to do with LFS ?

Thanks


Answers:
author: Mike Corsaro
body: Hello! This might have something to do with LFS -- are the merge file sizes very large? Does this only happen in this repo?

comments: author: A. Cemal ?zl?k
body: Hello Mike,

thank you for your reply! It might indeed. However:

with this configuration for merge

local: 127 MB

remote: 110 MB

base: 109 MB are created

and with this configuration for merge

local: 127 MB

remote: 138 MB

base: 1KB

a 1KB base file (practically empty file) is created. I find yet no way which commit is git taking as base in a specific merge session. Apparently it cannot retrieve the base in latter case correctly. Do you have an idea ?

Thanks!


author: A. Cemal ?zl?k
body: Further, the point is, it is not always the case that in the merge process a 1KB BASE file is created. For merge with some other branches it works fine as usual. For the cases with 1 KB BASE file, to find which base, I executed git merge-base commit1 commit2. The resulting commit is a normal file, non empty.

I have this issue with 1KB retrieved BASE file, since a short time (Monday). I tried to merge using git merge \<sourcebranch\> command and git mergetool command to merge and resolve conflicts, all without Sourcetree involved. Still the same problem.


Tags: merge
Suggestion to do-away with the checkboxes in File Status view.
Asked by alex chin:

SourceTree for Mac 2.7.5.

In the File Status view, suggest to remove the checkboxes left of the file names. It get confusing and counter intuitive especially when checked files list is not the same as multi-selected files (when you hold-down ctrl/command click on file names)..

If you can do-away with the checkboxes, just use multi-selection to denotes the selection, it would be clearer. And surely would be easier to code for SourceTree developers?


Answers:
author: Ana Retamal
body: Hi Alex! For suggestions or bugs, we have a separate portal where we can keep track of them. Please go ahead and submit your suggestion at [Sourcetree tracker](https://jira.atlassian.com/projects/SRCTREE/issues).

Kind regards,

Ana


Tags: mac
When running the Sourcetree install in Windows 10, the install window will not display
Asked by David Tang:

OS: Windows 10 Home Edition

Sourcetree version: 2.5.5

Hello,

When I try to install Sourcetree, the window that appears is blank. I have tried uninstalling Sourcetree via the remove programs feature from the control panel, deleting the related Sourcetree folders/files located in the C:\\Users\\XXX\\AppData\\Local\\Atlassian but whatever I do, the window is always blank.

How can I install Sourcetree given the situation?

Have attached a screenshot of what appears when I try to install Sourcetree.![Sourcetree install problem sceenshot.jpg](/t5/image/serverpage/image-id/24314iD6450E90366F842A/image-size/large?v=v2&px=999 "Sourcetree install problem sceenshot.jpg")

Cheers,

David


Answers:
author: Ana Retamal
body: Hi David, could you try the suggestions on the thread [Sourcetree transparent windows](https://community.atlassian.com/t5/Sourcetree-questions/Sourcetree-transparent-windows-in-Windows-10-Pro/qaq-p/813337) and see if they work for you?

Let us know!

Kind regards,

Ana

comments: author: David Tang
body: Hi Ana,

Thanks for the guidance. I followed the instructions for changing the registry and Sourcetree is displaying correctly now. The steps i took are as follows:

1- Go into windows registry (search for regedit)

2- In the registry editor, find: HKEY_CURRENT_USER\\Software\\Microsoft\\Avalon.Graphics

3- Right click the Avalon.Graphics folder, select New then select DWORD

4- The name of the new entry needs to be: DisableHWAcceleration

5- After creating the new entry, right click and select Modify

6- In the Modify screen, change Value Data to 1

7- Open up Sourcetree again and it should display correctly

What this new registry entry does is disables hardware acceleration for WPF apps. To be honest, i'm not sure what a WPF app is but Sourcetree is one of them.

![regedit add dword.png](https://community.atlassian.com/t5/image/serverpage/image-id/24542i564C4AA99688ABAB/image-size/large?v=v2&px=999 "regedit add dword.png")For other people who may encounter a similar issue, here is a screenshot for how to edit the registry:


author: Ana Retamal
body: Thanks for sharing your solution with the rest of the Community, [@David Tang](/t5/user/viewprofilepage/user-id/1494020) :D

Have a nice evening!

Ana


Tags: install

transparent

windows
How to make SourceTree remember my view settings?
Asked by alex chin:

SourceTree for Mac, version 2.7.5.

In File Status view, after changing it to show, say 'All files, sorted by path', I would like it to remember this after I quit SourceTree and come back later.

At the moment it's not doing this yet. but do I at least have a way to set this as the default, in config file somewhere?


Answers:
author: Manju
body: I am not sure if this setting was ever remembered. Can you please file a ticket for the product team to triage it and consider for an upcoming release on <http://jira.atlassian.com/projects/SRCTREE> ?

Thanks!


Tags: mac
I am using Sourcetree 2.4.7.0 and the Terminal is not opening
Asked by Dan Morris:

I have opened a repository and checked out a branch. When I click on the Terminal button Uncommitted changes node is created with a file named mintty.exe.stackdump.

The contents of this file:

Exception: STATUS_ACCESS_VIOLATION at rip=000FFFFC39F

rax=00000000FFFFC39F rbx=00000000000F29A0 rcx=00000000000F29AC

rdx=00000000000F2B18 rsi=00000000000F3314 rdi=00000000FFFFC39F

r8 =0000000000000004 r9 =0000000000000000 r10=0000000000000000

r11=0000000000000246 r12=0000000000000001 r13=00000000FFFFC3DC

r14=0000000000000000 r15=0000000000000000

rbp=0000000000000001 rsp=00000000FFFFC188

program=C:\\Program Files\\Git\\usr\\bin\\mintty.exe, pid 6324, thread main

cs=0033 ds=002B es=002B fs=0053 gs=002B ss=002B


Answers:
author: Mike Corsaro
body: Hello! This seems like an issue with mintty -- maybe a corrupt install. Regardless, I encourage you to head over to their project as they will be more helpful than I can: <https://github.com/mintty/mintty>
Anyone experiencing the same installation crashes v 2.5.5 on windows 7?
Asked by rfeugenio:

Problem Event Name: APPCRASH  
Application Name: SourceTree.exe  
Application Version: 2.5.5.0  
Application Timestamp: 5ad4730e  
Fault Module Name: KERNELBASE.dll  
Fault Module Version: 6.1.7601.17514  
Fault Module Timestamp: 4ce7c78c  
Exception Code: c06d007e  
Exception Offset: 000000000000a49d  
OS Version: 6.1.7601.2.1.0.256.1  
Locale ID: 1033  
Additional Information 1: 7283  
Additional Information 2: 72836eb6216b49be15302fdb224c1b5d  
Additional Information 3: 9b27  
Additional Information 4: 9b278814be4677eee68b1abbcfc07b95

Read our privacy statement online:  
[http://go.microsoft.com/fwlink/?linkid=104288\&clcid=0x0409](http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409)

If the online privacy statement is not available, please read our privacy statement offline:  
C:\\Windows\\system32\\en-US\\erofflps.txt


Answers:
author: Mike Corsaro
body: Hello! Could you upload your log file please? You can find it here:

`C:\Users\<username>\AppData\Local\Atlassian\SourceTree\sourcetree.log`


Tags: windows
How can I Get Start sourceTree in EC2 on AWS (Windows Server 2016 DataCenter)?
Asked by Ministerio Mujer:

I'm trying to Get Start sourcetree in it version 2.5.5 and version 2.3. in a EC2 on AWS with Windows Server 2016 DataCenter and when try to login in on myAtlasisan acount from the sourceTree it show the message: "Something went wrong while attempting to validate your credentials".  

I try from the Oficial Site of Atlassian on the web with the same credencials than sourcetree and I get log In.


Answers:
author: Mike Corsaro
body: Hello! This isn't a supported scenario, but it's probably due to the default internet explorer security settings on server 2016. I'd recommend trying the steps listed in this answer: <https://stackoverflow.com/a/45063640>
Sourcetree (Login to bitbucket server)
Asked by bizimunda:

Dear sir,

I'm trying to install sourcetree software but when it prompts to put bitbucket server address here things go wrong.

Could you kindly tell me what is the **Root url** please?

**Username**I know because there I have to put my username of bitbucket.

The only thing which is missing is **Root url**because I have tried to put all possible url but could not succeed it.


Answers:
author: Ana Retamal
body: Hi! The base URL is the root URL for your installation of Bitbucket Server. All links which are not from a web request (for example in Bitbucket Server email notifications), will be prefixed by this URL.

If you're still having problems, please send us a screenshot of the step where you're currently stuck, so we can continue helping you. Also, let us know which OS and Sourcetree version are you using.

Best regards!

Ana
Why each time to add ssh key and its password after open app for the first time
Asked by Nitin Sali:

I have to add ssh key and its password when I open the app (SourceTree) for the first time.   

Is there way to set / configure key and password once. so next time when I open an app (Sourcetree) it should not ask to add ssh key and its password?  

I already have set ssh key in Tools -\> Option -\> SSH Client Configuration -\> SSH Key  

Waiting for your reply  

<br />

<br />


Answers:
author: Mike Corsaro
body: Hello! Are you using OpenSSH, or Putty/Plink?

To make sure that the SSH is auto-loaded, make sure "Automatically start SSH agent when Sourcetree opens" is checked under "Tools \> Options".

comments: author: Nitin Sali
body: Thanks for the reply.  

I am using Open SSH, Automatically start ssh agent option is disabled.