youngmon/atlassian-qna huggingface dataset:
SourceTree losing custom diff arguments
Asked by Kevin Matlock:

On 3.0.8, I have an external, custom diff tool defined with arguments. I can set these via the options dialog, exit SourceTree, and can confirm they are stored in my .gitconfig file. When I open SourceTree back up and go into the options, the arguments field (for both merge and diff tools) are blank. The path to my custom command remains however.

Custom diff and merge command: *C:\\Program Files (x86)\\WinMerge\\WinMergeU.exe*   
Diff arguments: *-e -u -wl -dl \\"Remote\\" -dr "Local" $LOCAL $REMOTE*   
Merge arguments: *-e -u -wl -dl \\"Remote\\" -dr "Local" $LOCAL $REMOTE $MERGED*

I'm trying to call WinMerge in this way since the listed "WinMerge" entry in the dropdown

doesn't appear to work. My custom configuration works great, it's just that the settings are being removed when the application is started - I can observe my settings being deleted from my .gitconfig on startup of the application.


Answers:
author: MKr
body: Seems to be STILL an issue and seriously affects using diff programs professionally from out of Sourcetree.

comments: author: MKr
body: Oh, sorry, that seems to be wrong. We had indeed command options being eaten on their way to our diff tool, but that just turned out not to be SourceTree's fault.


author: minnsey
body: Hi,  

I'm afraid this is a known bug, we are working on a fix.

comments: author: Vladimir Cascarade
body: And are you reserving the rest of the century to accomplish it?
How to hide multiple branches in source tree
Asked by Bhavin Sanghvi:

Here is a scenario

1. For each JIRA case we open up a new branch .

2. Now there are multiple branches that appear to pull/push in the changes through sourcetree(in windows). We close the branch when we merge it to Master but in time say there are 10 cases everyday so 10 branches get created and only 2 are merged so brnaches keeps on multiplying and there is a long dropdown menu to select which can cause human error (commit code to different branch)

How can i organize the branches? Can i organize it with user id , so that the branch creator can view his/her branches.

Also please let me know if you have effective way to fix this confusion of multiple branches.


Answers:
author: minnsey
body: Hi  

Currently the only way to organize this list is through consistent naming.


Tags: bitbucket

windows
The "Remote" button goes to the first remote in the list instead of the default
Asked by Jimmie Chapman:

When I click on the "Remote" button, it always goes to the first remote listed in the "Remote Settings" .

It does not go to the remote marked as default remote (or even origin).

I tried removing and re-adding remotes to change the order but that didn't work. It looks like the order of remotes is alphabetical.

I fixed the problem by removing remotes with names other than the default remote (which is origin in my case) and then re-adding them with their names prefixed with "z-" to ensure that they are not first. It's stupid, but it worked.

Note: I tried just renaming the remotes, but that didn't change the order. I had to remove and re-add with the new name.

Does anyone have a better solution than prefixing the the remote names with "z-"?


Answers:
author: minnsey
body: Hi  

This sounds like a bug, can you raise it at <https://jira.atlassian.com>, thanks

comments: author: bgannin
body: SRCTREE for Mac, SRCTREEWIN for Windows
How do I free up the Souretree GUI horizontal divider?
Asked by Crawford_M:

Often, when working in the SourceTree GUI, the horizontal divider (between the branch graph and the file list/tree \& Diff panel) will not move. It's not a big deal, it is only an irritant - I imagine that it is just a matter of understanding how it works, but I'm hoping someone is familiar with this and understands how to free it up. Sometimes I can free it up by playing around with views and displayed commit, etc., but I can't seem to figure out a consistent remedy. Does anyone know what I'm talking about? Thanks.


Answers:
author: minnsey
body: Sorry, that sounds like a bug, can you raise it <https://jira.atlassian.com> ? Thanks

comments: author: Crawford_M
body: I found this already raised as a bug issue:

<https://jira.atlassian.com/browse/SRCTREEWIN-6909>
What version of "libssh2" does Sourcetree use?
Asked by David Hannu:

My site is on Acquia Cloud and we ustilize Sourcetree to move code up to the site. On November 12, Acquia is removing Github support for algorithms used by all versions of libssh2 below 1.7.0. Version 1.8.0 has been out since 2016 and it would stand to reason that by now, Sourcetree would use this library, but I need to ask.

Kind Regards,

David Hannum

Ohio University


Answers:
author: minnsey
body: Sourcetree relies on the version of openSSH bundled with Git for Windows, which I believe comes via its MingW/Msys bundle.  

As such it depends what version of Git you are running.
Has anyone else on Mac lost ability to directly open a repo from the command line or Open Recent?
Asked by Brady Wied:

I used to use open -a /Applications/Sourcetree.app \<someDir\> all the time. This morning for no apparent reason it stopped working. I cleared out preferences, cache, and app support. I also tried using the actual stree binary to no avail. It looks like from the console that SourceTree decided to start seeking contact/addr book permissions when I do this. Anyone know why or have the same issue? I can add the repo in via bookmarks and open that way but that is much more time consuming. Pid 1480 below is the stree executable.

OS: 10.13.6

**Logs**

default 10:37:35.835767 -0600 tccd PID\[75\] is checking access for target PID\[1480\]  
default 10:37:35.835793 -0600 tccd Failed to get cs_flags, error=3  
default 10:37:35.835812 -0600 tccd SecTaskLoadEntitlements failed error=3 cs_flags=ffffffff, pid=1480  
default 10:37:35.835862 -0600 tccd SecTaskCopyDebugDescription: stree\[1480\]/0#-1 LF=3  
default 10:37:35.835968 -0600 tccd Failed to get cs_flags, error=3  
default 10:37:35.835989 -0600 tccd SecTaskLoadEntitlements failed error=3 cs_flags=ffffffff, pid=1480  
default 10:37:35.836028 -0600 tccd SecTaskCopyDebugDescription: stree\[1480\]/0#-1 LF=3  
error 10:37:35.836052 -0600 tccd Refusing client without path (pid 1480)  
error 10:37:35.836078 -0600 tccd Refusing TCCAccessRequest for service kTCCServiceAddressBook from invalid client with pid 1480  


Answers:
author: Brady Wied
body: <https://community.atlassian.com/t5/Sourcetree-questions/stree-command-line-tool-no-longer-works-in-Sourcetree-3-0/qaq-p/924448>
Enterprise Installer Sourcetree 2.6.10 is not installing
Asked by NNIP DLM:

Dear Sir, Madam,

I'm trying to deploy Sourcetree version 2.6.10 and have the Enterprise Installer (MSI) downloaded from the website.

<https://confluence.atlassian.com/sourcetreekb/sourcetree-enterprise-and-msi-installation-947848769.html>

Whatever I'm trying to do, run it silent or not, it is not installing anything.

Few examples I tried:

msiexec /i enterpriseinstallfilename.msi ACCEPTEULA=1

msiexec /i enterpriseinstallfilename.msi /qb!- ACCEPTEULA=1

Even tried to put the ACCEPTEULA=1 in a transform (MST) and ran by

msiexec /i enterpriseinstallfilename.msi TRANSFORMS=enterpriseinstallfilename.mst /qb!-

It is showing the status bar for a 2-3 seconds and dissapears. Nothing were installed.

I opened the MSI in an editor and see that one of the conditions if having .NET 4.6.2 or newer.

The system (Windows 10) I tried on, is having .NET 4.7.2 so that's not the issue.

Do you have any idea?

Thanks in advance.

With kind regards,

Eddy Wong

NN Investment Partners


Answers:
author: minnsey
body: Hi  

Does the MSI run correctly if you just run it directly, interactively?  

You can potentially discover more about the problem by logging the MSI output using the following command line arguments   

```
 /L*V "C:\log\example.log"
```


Tags: sourcetree-enterprise
How can we know what version of LIBSSH2 is in the latest Sourcetree?
Asked by David Hannu:

I would think that version 3.0.6 would have libssh2-1.8.0 since it's been out since 2016. On Nov 12, Acquia is dropping support for anything version 1.7.0 and older. We just want to be sure we are good.


Answers:
author: minnsey
body: Sourcetree relies on the version of openSSH bundled with Git for Windows, which I believe comes via its MingW/Msys bundle.  

As such it depends what version of Git you are running.


Tags: windows
Can't install SourceTree due to login problems (MacOSx + SmartGit)
Asked by Raphael Steinmann:

I'm trying to install sourcetree on my MacbookPro.

When I try to register via bitbucket Cloud, a window in my chrome pops up ask me to push the button to link with my bitbucket account.

But when i click the button another window pops up that asks if i want to open in SmartGit.

I have no chance to change this setting. Neither in Chrome nor on OSx, since I don't know the filetype :/

Happy new automized world...


Answers:
author: bgannin
body: Sourcetree has nothing to do with SmartGit, it sounds like the app has registered as the default handler for sourcetree:// URLs which is breaking our registration for it and the ability for Bitbucket to call us back. You'll want to check in their app or uninstall.

Brian Ganninger  
Senior Mac Developer, Sourcetree


Tags: mac
SourceTree 3.0.8 Updates Hogs Resources and Closes Tab Unexpectedly
Asked by BagusTesa:

Hi All,

Just recently i updated from SourceTree 2.6 to 3.0.8. The update itself went smoothly and my configurations are intact. However i noticed that SourceTree now aggresivelly pool open repositories by spawning a lot of \`git status\` process in the background. i also noticed, that whenever it reaches certain CPU usages or Hard Disk, it will close some tab to 'intelligently' reduce the loads.

Unfortunately, i always works with around 12-20 tabs open at the same time as necessity dictates me to. Since my upgrade to 3.0.8 it closes the tabs and only left around 6 and sometimes only left 3. Is there any way to change the new behavior?

I noticed we only have the options whether to allow SourceTree to "Refresh when application is not in focus" or "Check default remotes for updates every x minutes". I kept the default settings where the checks when the window inactive is unchecked and the remote check stays 10 minutes. Surprisingly, i always see SourceTree checks more than once in one minute and it always recheck every tabs whenever i focus to the window -- or even just switching tab.

It just a pain to have these processes too heavy to do actual works.

So, to reiterate my concerns:

1. Is there anyway to cap SourceTree git subprocesses in checking file changes? Something like, limit only 5 recent tabs being checked at a time.
2. Can we alter the checking and tab closing behavior?
3. Does SourceTree implements a really expensive pooling checks for file changes?

Thanks!


Answers:
author: minnsey
body: Hi  

The processes are, I believe, hanging because they are triggering credential requests which are holding the processes open.  

This is partly down to issues in the Git Credential Manager bundled with Git for Windows, we are working on improving this behaviour, but also try installing Git 2.19.0 and switching to it in the Tools/Options/Git tab

comments: author: BagusTesa
body: Hi Michael,

I'll try your proposed solution first. Yes, seems my embedded GitBash is two version behind (currently its 2.17.0).

Thank you.


author: BagusTesa
body: Hi, i have tried to switch to system GitBash 2.19 and the result is still the same.

Is it possible the problem caused by anti virus witthheld the git process(es) and then source tree invokes another git processes?


author: minnsey
body: That is a possibility


Tags: windows
Stash all the files (staged and new files)
Asked by Yashu Mittal:

I want to stash all the files (new files, modified files and deleted files) but the problem is that it doesn't stash the new files.

![SourceTree_2018-10-26_23-49-46.png](https://community.atlassian.com/t5/image/serverpage/image-id/36101i93472C189910E72E/image-size/large?v=v2&px=999 "SourceTree_2018-10-26_23-49-46.png")

What does the "Keep stages changes" means?


Answers:
author: BagusTesa
body: Hi Yashu,

Seems the issue lies on how SourceTree invokes the GitStash command, for workaround, prolly you can try to stage the all the files you want to stash first before stashing them.

comments: author: Yashu Mittal
body: I want to stash all the files whether the file is committed or not.
Sourcetree warns about lack of Remote Project Configuration with Bitbucket Server
Asked by tomisaacson:

I've just upgraded Sourcetree and now I'm seeing a Remote icon with a red exclamation mark. When I click it it says "You don't have any remotes which have extended integration settings configured; you need to edit your remotes to add details such as the hosting type and base URL. Click the Settings button to open your remote list."

But when it opens the Remote details dialog and I select Host Type of Bitbucket it automatically sets the Host Root URL to <https://www.bitbucket.org>. How can I setup a Bitbucket server?


Answers:
author: tomisaacson
body: I wanted to try setting Sourcetree up again so I deleted the details I listed above from the Tools/Options/Authentication menu. When I re-added them I was given the option of being able to set the Hosting Service to Bitbucket Server. When I did this it added my server as an account rather than just a saved password and it appeared correctly in the dropdown.


author: minnsey
body: Hi  

In Tools/Options/Authentication add a Bitbucket Server account, then back in the Repository Settings, cog in the upper right of the repository view, you can select this account as the *Remote Account.*

comments: author: tomisaacson
body: My Bitbucker Server account is already added. Where do I "select this account as the *Remote Account"?* If I click the Settings cog I see Repository Settings. Go to edit my current origin but under Remote Account the only option I see is "Generic Account / Generic Host". I see the same if I try to Add a new one.


author: minnsey
body: Hi  

They should appear within the drop down containing the Generic Account


author: tomisaacson
body: They don't.


author: minnsey
body: OK  

Any credentials listed under **Accounts** in the Tools/Options/Authentication tab should appear in that dropdown, if not it sounds like a bug.  

Could you attach, suitably anonymized, screen shots of the Tools/Options/Authentication tab and the contents of the Generic Account drop down?


author: tomisaacson
body: Tools/Options/Authentication:

Host: bitbucket.companyname.com  
Username: tom.isaacson  
Authentication: Basic  
Default account for bitbucket.companyname.com: Yes

Generic Account dropdown:

Generic Host


author: Jeremy Tenjo
body: Is there a solution for this bug yet?


author: tomisaacson
body: Yes.


Tags: bitbucket-server
2FA for Github on Sourcetree failing to load on Mac
Asked by Michelle Brownstein:

I've seen some similar issues here but haven't found this specific issue.  

I'm attempting to update my credentials (now also using 2FA) on SourceTree for my Github account.  

So I went to Preferences \> Accounts to add my account to update to a new password on Github.  

After I complete the u/p and completed the verification step for github via Oauth (SSH), I get an empty screen, which does not progress/load.  

![Screenshot 2018-10-26 11.51.12.png](/t5/image/serverpage/image-id/36090i9E4117526D338634/image-dimensions/429x407?v=v2 "Screenshot 2018-10-26 11.51.12.png")  

I have attempted to update Git to the latest version. I have installed it via GUI, clicked on "Use System Git" back in the Git preferences section, and changed the file location to /usr/local/git folder (as specified in the Readme) and got the following error:

![Screenshot 2018-10-26 11.56.44.png](/t5/image/serverpage/image-id/36089i1F367637D5D6B252/image-dimensions/377x76?v=v2 "Screenshot 2018-10-26 11.56.44.png")  

<br />

Any suggestions on where to go from here?


Answers:
author: Greg Macdonald
body: Perhaps this will help: <https://apple.stackexchange.com/questions/254468/macos-sierra-doesn-t-seem-to-remember-ssh-keys-between-reboots>


Tags: github
Configure remote live on sourcetree
Asked by Sys Admins:

I am a sys admin that is reponsible for deploying to production using GIT processes. I am looking for ways to streamline the process and found sourcetree.

On my local Windows PC, I have cloned the two repos that exist on bitbucket.org.

What I would like to do is also set up a "remote live" for our production website.

From my Mac, if I do a "git remote -v", it shows

live \<website name\>:/var/git/.git

Live is a Linux server.

How do I configure sourcetree to add the live remote. My thought is that I would use Source tree to do the push and point to live for production deployments.

Thank you in advance for your help.


Answers:
author: minnsey
body: Hi  

Open the repository in Sourcetree, then click the cog in the upper right to open Repository Settings, in there you can add a new remote.


Tags: bitbucket-cloud

remote
???????????
Asked by avoc:

Sourcetree ????????????????

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

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

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

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

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

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


Answers:
author: K. Yamamoto
body: ????????????

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

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

* ????????????????????????Bitbucket, GitHub?????????????
* SourceTree ???? CLI ? git push ??????????????

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

comments: author: avoc
body: ???????????????

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

?????Sourcetree???????????????????

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

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

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


author: K. Yamamoto
body: ????????????????????????

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


Tags: language-ja
????????
Asked by ????:

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

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

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

\<????????\>

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v --tags origin master:master  
Pushing to https://xxxxxx@bitbucket.org/xxxxxx/[test](https://bitbucket.org/avoc/memmanage.git).git  
To [https://bitbucket.org/xxxxxx/test.git](https://bitbucket.org/avoc/memmanage.git)  
! \[rejected\] master -\> master (fetch first)  
error: failed to push some refs to 'https://xxxxxx@bitbucket.org/xxxxxx/[test](https://bitbucket.org/avoc/memmanage.git).git'  
hint: Updates were rejected because the remote contains work that you do  
hint: not have locally. This is usually caused by another repository pushing  
hint: to the same ref. You may want to first integrate the remote changes  
hint: (e.g., 'git pull ...') before pushing again.  
hint: See the 'Note about fast-forwards' in 'git push --help' for details.

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


Answers:
author: K. Yamamoto
body: ??????????????????

???????????????????????????????????????????? push ??????????????????????? git pull, git fetch ????????????????????? merge ????????????????? git push ????????????????

??: <https://stackoverflow.com/a/18328842>

comments: author: ????
body: ??????????????

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

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

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


author: K. Yamamoto
body: ????????????????????????????????

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

???????????????????????????????????? master ????????????????????????? git push ???????????????????????????? master ??????????????????????????????????????????????????????????


author: ????
body: ??????????????

\> ???????????????????????????????

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

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

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

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

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


author: ????
body: ????????????

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

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

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

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


author: K. Yamamoto
body: ??????????????

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

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


Tags: language-ja
New version prompts for authentication / password on every launch
Asked by Greg Macdonald:

After taking the update of Sourcetree to 3.0 on macOS Mojave it now prompts me for my github password every time I launch Sourcetree. This did not happen before this update.


Answers:
author: Greg Macdonald
body: Resovled. See: <https://apple.stackexchange.com/questions/254468/macos-sierra-doesn-t-seem-to-remember-ssh-keys-between-reboots>

Prior to this release of SourceTree, I had to do "ssh-add -K \~/.ssh/id_rsa" when I rebooted my laptop but then SourceTree used those credentials somehow and everything worked. Starting with release 3.0 on macOS one must fix the Git config and not just re-add the key all the time.


Tags: authentication

git

login

mac

password
I can install SourceTree having due to login problems
Asked by Begona Valdivieso:

Hello, good afternoon

I have created a count with email begona.valdivieso@getronics.com. In my organization Getronics where I work we use ATTLASIAN JIRA for the project and i have my user. Y can use JIRA without problems with the user begona.valdivieso.

I have tried to install a SourceTree version and when i write my email begona.valdivieso@getronics.com to Log in my Atlassian account to continue the installation always the system show an error "Log in to continue - Log in with Atlassian account Something went wrong while attempting to validate your credentials"

I log in the web Atlassian win the same email and i don't have any problem. ?What 's the problem? I need install Sourcetree to do my work.

I have tried to create a new acount with the same email and the system show 'There is another acount with that email'- ?How can I install SourceTree?

Thank you.

Greetins

Bego?a


Answers:
author: Ana Retamal
body: Hi Bego?a, welcome to the Community :)

Can you confirm that you're using the 'Atlassian account' method to register Sourcetree?

Another thing to consider is if you're using Windows or Mac. In Windows please make sure Internet Explorer is updated to the latest version, as Sourcetree relies on it for the authentication steps.

if you're still having issues, please let us know and send us a screenshot.

Kind regards,

Ana
SourceTree : error on config setting with update 3.0.6
Asked by Estelle LE BOULER BESNIER:

You need to add detail hosting type and base URL ....


Answers:
author: Ana Retamal
body: Hi Estelle, welcome to the Community :)

I'm afraid I don't understand what the issue is, could you provide some more context? More information about when does this error occur and a screenshot will help. Also it would be useful to know where are your repos hosted (Bitbucket Cloud, Bitbucket Server, Github...)

Cheers!

Ana


author: Estelle LE BOULER BESNIER
body: ![sourceTreeError.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/36061i2F70B7FB3CDC92AE/image-size/large?v=v2&px=999 "sourceTreeError.JPG")
Mass Download of content
Asked by lesley-anne_vandernest:

I would like to close the account and therefore migrate the content. At the moment I can only see a way to download per page.

Is there a way to download all the content in one go?

Thank you.


Answers:
author: marc -Collabello--Phase Locked-
body: Hi [@lesley-anne_vandernest](/t5/user/viewprofilepage/user-id/5428300) ,

You can export a space, and that export will include all pages in a space.


Tags: cloud

confluence-cloud