youngmon/atlassian-qna huggingface dataset:
Keep going in a loop trying to clone a repsoitory
Asked by daveryan66:

I keep logging into the bitbucket server and filling in the capcha seems fine - log into sourcetree refreshing pwd but when I try to clone I get the following...

Command: git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks ls-remote <http://172.20.18.123:7991/scm/sb/asn-sb.git>  
Output:  
Error: fatal: remote error: CAPTCHA required  
Your Bitbucket account has been locked. To unlock it and log in again you must  
solve a CAPTCHA. This is typically caused by too many attempts to login with an  
incorrect password. The account lock prevents your SCM client from accessing  
Bitbucket and its mirrors until it is solved, even if you enter your password  
correctly.

If you are currently logged in to Bitbucket via a browser you may need to  
logout and then log back in in order to solve the CAPTCHA.

Visit Bitbucket at <http://172.20.18.123:7991> for more details.


Answers:
author: minnsey
body: Hi  

Try removing any relevant entries, that refer to your big bucket server host, from the Windows Credential Manager, they will be prefixed by 'git:' or 'sourcetree:', before you reset the CAPTCHA and the Sourcetree credentials.  

It is possible that *old, bad* credentials are being stored in the Windows Credential Manager and that background Sourcetree/Git processes are picking them up and using them before you get chance to reset and reuse *new, good* credentials.
I cannot uninstall 1.8.1 or 1.8.2.11 from an E:/ drive I no longer have
Asked by Michael Morguarge:

I am trying to install the latest Sourcetree's application but the previous downloads of 1.8.1 and 1.8.2.11 that were on an old E:/ drive are preventing me from doing so. How do I delete these versions of source tree and is there a tool I can use to remove the old sourcetree keys from the registry?


Answers:
author: Michael Morguarge
body: I installed something else. I will not be able to install source tree on my pc again because of the issue with 1.8.1 and 1.8.2.11


Tags: uninstall
Launch External Merge Tool always launches "Visual Merge" instead of KDiff3
Asked by Rufus Reh:

although the settings for KDiff3 are properly done:

.gitconfig:

\[merge\]  
tool = sourcetree  
\[diff\]  
tool = sourcetree  
:::  
\[difftool "sourcetree"\]  
cmd = 'C:/Program Files/KDiff3/kdiff3.exe' \\"$LOCAL\\" \\"$REMOTE\\"  
\[mergetool "sourcetree"\]  
cmd = 'C:/Program Files/KDiff3/kdiff3.exe' \\"$BASE\\" \\"$LOCAL\\" \\"$REMOTE\\" -o \\"$MERGED\\"  
trustExitCode = true

Selecting the DIFF action for a file launches Kdiff3.exe!

Seems that SourceTree does not read the value from .gitconfig for mergetool or uses a default because something is still wrong with the mergetool cmd?!?

OS: Windows

Any idea?

Thanks


Answers:
author: Rufus Reh
body: Hi Mike,

almost right. The settings are configured for KDiff3 for both Diff Tool AND Merge Tool.

But as Merge Tool always "Visual Merge" is launched instead of KDiff3.

For Diff Tool the configured KDiff3 is launched.

Question: Why is "Visual Merge" launched as Merge Tool although KDiff3 is configured properly?

Thanks

Rufus


author: Mike Corsaro
body: Hmmm... maybe I'm misunderstanding, but those settings values are correct? The config says "launch kdiff3" and kdiff3 is launched, right? What is the tool you're expecting to be launched?
Why Source Tree has memory leakage on macOS for more than a year?
Asked by EugeneBos:

And when developers will fix it?


Answers:
author: bgannin
body: We are constantly working to improve the performance and reliability in each release. Please [vote on and watch tickets](https://jira.atlassian.com/browse/SRCTREE) such as [this one](https://jira.atlassian.com/browse/SRCTREE-5219) when reporting bugs.

Brian Ganninger  
Principal Developer, Sourcetree


Tags: mac
Git flow bug in SourceTree 3.0.17? - two clones of same repository report same gitflow status
Asked by adlanwastaken:

I have a repository hosted in Bitbucket Server. I have cloned this to my local machine and have initialized Git Flow using Sourcetree v3.0.17 (System Git v 2.21). On this first repository, I have started a feature branch using Sourcetree's built in Gitflow button. Currently in this working copy I have the feature branch checked out.

I then cloned the same repository to a different location using Sourcetree, and also initialized GitFlow on the second working copy. After initializing Gitflow on this copy (using the default names for branches as I had done with the first), the GitFlow button on the second repository shows the recommended actions as 'Finish Feature' with the Feature name reported as "Develop".


Answers:
author: minnsey
body: Hi  

Can I check have you committed and pushed anything to the Bitbucket Server since initializing Git-Flow on either clone?  

I'm not sure I understand why you init-ed twice.

comments: author: adlanwastaken
body: I am only init-ing twice as I am being prompted to on the second repository.

I have pushed from the original clone of my repository since checking out (and since initializing Git-Flow). I have also used Git-Flow on this clone multiple times to create and complete feature branches, hotfixes etc. and pushed the changes afterwards.

If I check out a new copy and then attempt to use Git Flow in SourceTree, it prompts me to initialize again. Do I take it from your comment that the GitFlow configuration should have been pushed to Bitbucket server somehow? If this be the case, can I check the .gitignore file for something that shouldn't have been included?

Thanks Andrew.
Cannot change password for default host account
Asked by Marc DeBrey:

I am using Sourctree v3.0.17 on Windows 10.

I have two repositories:

1) bitbucket

2) tfs git

I had everything working fine until the tfs server forced a password change. At that point Sourcetree gave an authentication error when I tried to push. I cannot find where to change the password for the generic host account in Sourcetree. I followed an earlier thread indicating that the generic host account credentials can be changed in the Windows Control Panel. I searched high and low in the Windows Credential Manager and the Web Credential Manager, and I cannot find the generic host account listed or any account for this repo listed.

How do I change the generic host account password? Any insights would be greatly appreciated.

Thanks,

Marc


Answers:
author: Marc DeBrey
body: Michael, thanks for your reply. As I understand it, I will need to download the GCM from github and install. I'll try that now.

Thanks,

Marc

comments: author: minnsey
body: The GCM is already bundled with Git for Windows.


author: Shannon Bailey
body: Erase the password file passwd in C:\\Users\\your-account\\AppData\\Local\\Atlassian\\SourceTree\\ and restart SourceTree and fetch from the repo, It will pop up a dialog to re-enter user name and password...


author: minnsey
body: Hi  

Although Sourcetree shares them, ultimately the credentials used for pull/push etc in Git are managed by the Git Credential Manager for Windows, GCM, an add-on bundled with Git for Windows releases.  

For example the Microsoft themed dialog that opens to prompt you for TFS credentials is part of the GCM not Sourcetree.  

The GCM does store its credentials in the *Credential Manager* under the *Windows* side. They are all prefixed with 'git:'  

This assumes there is nothing more complicated happening in your environment, I.e. you do not have domain level credentials being shared between you workstation and the Bitbucket instance.  

Ultimately if you delete all the 'git:' prefixed entries from the Windows Credential Manager then there are no credentials the GCM can try and use, in those circumstances it should re-prompt you for new credentials.


Tags: authentication
Remote branch tracking setting reset after "repo sync"
Asked by Pavel Pipowitsch:

Hello,

"*repo sync*" seems to reset remote branch tracking settings made with Sourcetree.

After a "*repo sync*" I always have to do this again:

1. Right-click on a local branch (for example *master*)

2. Hover on "*Track remote branch*"

3. Select "*origin/master*"

This reset seems to happen because during the "*repo sync*", in the configuration file

*\\.repo\\projects\\..\\someproject.git\\config*

the following bold line is changing from

*\[branch "master"\]*   
*remote = origin*   
***merge = refs/heads/master***

to

*\[branch "master"\]*   
*remote = origin*   
***merge = master***

Any idea how to avoid this?

Thanks


Answers:
author: minnsey
body: Hi  

Can you clarify what action, buttons you are using when you refer to "repo sync" ? Thanks.

comments: author: Pavel Pipowitsch
body: Yes, I am talking about running [repo sync](https://source.android.com/setup/develop/repo "repo commands") in the terminal to update all projects.


Tags: configuration

repository
Best available SourceTree version for Mac OSX Yosemite 10.10.2
Asked by Roberto Kramer:

Hello guys,

I'm having issues with my dev team because I can't get to work SourceTree on my mac. Could anybody please help me letting me know what version works best for my OS version on the tittle?   

Thank you,

Roberto


Answers:
author: Marty
body: Hi Roberto,

I am not on the SourceTree Team, but I will try to help.

According the the release notes at [https://product-downloads.atlassian.com/software/sourcetree/ReleaseNotes/Sourcetree_3.1.html](https://product-downloads.atlassian.com/software/sourcetree/ReleaseNotes/Sourcetree_3.1.html?)

SourceTree 2.4.1 - Minor Release \[10 February 2016\] was the last release to support 10.10.

Out of interest, is there a reason why you haven't updated your OS?

Typically new OS releases contain bugfixes and improvements (and the same goes for the SourceTree app).

I hope that helps!
Does Sourcetree support virtual desktops?
Asked by John Quasebarth:

We are looking to adopt Sourcetree as an Enterprise application and we will be moving to all virtual desktops in the near future. I couldn't find any information on your site or Google about this. Please let me know if virtual environments are supported and if so what are the specifications that are supported.

Thanks!


Answers:
author: minnsey
body: Hi  

Provided the virtual environment is a full Windows OS, then yes it should work, but we do not explicitly test that scenario.

comments: author: John Quasebarth
body: If we were to adopt this solution in a total VDI environment and ran into issues would we have support for resolving these issues?


author: minnsey
body: As a free product support is primarily done through this community forum, we would hope to be able to comment on any issues you raised.
Cannot connect bitbucket account to sourcetree
Asked by Tadej:

I am using sourceTree for 2 years now and I have it connected to the bitbucket. Today all of the sudden when trying to pull I get an error:

remote: To make a call, you need to use an app password.

fatal: unable to access 'url': The requested URL returned error: 403  

So naturally I check my accounts and try to do the OAuth again but I didn't work. So I updated source tree to 3.0 (I am using a mac) and I was able to do the OAuth but I still could not pull.   

So I looked into the whole app password and created one, changed to basic authentication but I'm still getting the same error no mater what I try.   

I have 2FA enabled.   

Any suggestions?


Answers:
author: bgannin
body: Hi [@Tadej](/t5/user/viewprofilepage/user-id/1178573),

Our apologies for the hassle. A few things to try:

1. Remove and re-add your account, using OAuth + HTTPS

2. Remove and re-add your account, using OAuth + SSH, with appropriate key

3. Remove and re-add your account, using Basic Auth (app password) + HTTPS

Let us know if that doesn't work out and we'll continue digging to get to the bottom of this.

Brian Ganninger  
Principal Developer, Sourcetree

comments: author: Tadej
body: I tried all of the steps above but all result in the same error. I'm not really sure what could have happened for it to stop working all of the sudden.


author: Nicolas Lefevre
body: Hi, did this issue ever get resolved? I seem to have the same problem with 2FA enabled as well.


Tags: bitbucket

mac
Git cloning error
Asked by Shadab:

HiWhen I tryt o clone the code from git,i am getting below error.And always reproducing this error in my machine, but not reproducing in other machines, working fine always in other machines.
> *remote: Counting objects: 4070, done.*
>
> *remote: Compressing objects: 100% (2634/2634), done.*
>
> *remote: Total 4070 (delta 1247), reused 4001 (delta 1211)*
>
> *Receiving objects: 100% (4070/4070), 140.34 MiB \| 870.00 KiB/s, done.*
>
> *error: inflate: data stream error (unknown compression method)*
>
> *fatal: serious inflate inconsistency*
>
> *fatal: index-pack failed*


Answers:
author: minnsey
body: Hi  

What OS are you running?

While it isnt exactly the same error I think this might help stackoverflow.com/questions/37739797/git-fatal-failed-to-read-object-xxx-invalid-argument   

I think your local repo might be corrupted.
Hot to install Sourcetree without Bitbucket account
Asked by ????????? ?????????:

I don't want use Bitbucket. I want use Sourcetree for local repositary. How can I install software without opening account?


Answers:
author: Alex Walsh
body: As a returning user of your software - your now needing access to "Read and modify your repositories and their pull requests" is enough for me to no longer use your software. How sad - I really liked it too - perhaps you should have just offered a pay option instead?


author: minnsey
body: Hi  

I'm afraid you can't registration is the only step required for you to use the free Sourcetree app.

comments: author: Jerry Barnes
body: Your process is confusing. It sucks!

Why don't you respond to all the people having trouble with it by FIXING IT!


author: minnsey
body: Hi Jerry  

Can you elaborate a bit more on which aspects are confusing? The intention is to make it as straightforward a possible, but at the same time registration via Bitbucket is the one requirement for using Sourcetree for free.


author: SapioiT
body: Well, then why does it force be to use bitbucket instead? I mean, I completely unisntalled sourcetree, but tried to install it, for some reason I couldn't push any commits, then I uninstalled, restarted PC, then installed again and I'm stuck while it tries to connect me to Bitbucket, but the localhost link it redirects me to just doesn't work (refused connection). Why not use some other means to connect, than Oauth?


author: Michal Kubis
body: Hey Atlassian, why are you wasting our time with service we don't want? Do you expect to get more users on board? I'm afraid, you will get the opposite.


Tags: install
how does sourcetree support git enterprise SSO?
Asked by jasminewu229:

my company has SSO enabled for our git enterprise host, and when I tried to setup the account, there's only basic authentication, and it fails with following error:

what should I do?

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


Answers:
author: bgannin
body: Hi [@jasminewu229](/t5/user/viewprofilepage/user-id/2816110),

I believe it should work properly with an access token as described in [their documentation](https://help.github.com/en/articles/about-authentication-with-saml-single-sign-on). Please let us know if you encounter issues after that.

Cheers,

Brian Ganninger  
Principal Developer, Sourcetree

comments: author: William Dixon
body: So I created the token, how do I use it w/ ST? Only basic auth is provided as an option.


author: Luke Noel-Storr
body: In case anyone else ends up here looking for an answer: You just use it as the password, alongside your GitHub Enterprise username (i.e. your GitHub profile name, not necessarily the username/email you use for SSO).
Changed my Bitbucket password now Sourcetree cannot pull from remote.
Asked by Hayden Passmore:

Hi,

I recently changed my password on Bitbucket and I have attempted to re-authenticate using OAuth. However, I am unable to pull from origin.

**What I have Tried**

* Refreshing OAuth Token in the authentication settings
* Completely removing the Bitbucket account in the authentication settings then re adding it
* Logged out of all Atlassian/Bitbucket sessions the tried refreshing the OAuth token.
  * This caused me to have to log back in which I was able to do.
* Went to windows credentials manager and removed any Bitbucket and Sourcetree credentials.

After trying all of the above steps Sourcetree is saying that the Authentication is ok with a green tick but unfortunately when I try to push or pull from the remote I recieve an error saying the following.

```
remote: Invalid username or password
fatal: Authentication failed for 'https://<my username>@bitbucket.org/xeppo/xeppo.git/'
```

Thanks,

Hayden

If it helps I am using SourceTree version 2.6.10.0


Answers:
author: Hayden Passmore
body: Hi to solve this I was able to log in to Bitbucket through visual studio's Bitbucket extension (If you don't have this install it using visual studios 'Tools \> Extensions and updates' then search for Bitbucket extension.

What I had to do was attempt to clone the remote repository in Bitbucket then I was prompted to enter in my login details. Then after logging in I was able to go to Sourcetree and push/pull from the remote.
Cannot uninstall old versions of Sourcetree (1.9,6.1, 1.9.6.2)
Asked by Paul Lotz:

I have seen somewhat related posts, but haven't found the solution for the specific issue.

Each time I open SourceTree (2.3.1.0) I receive a message (first dialog in image) about uninstalling older versions.

![SourcetreeUninstallIssue.PNG](/t5/image/serverpage/image-id/47665iFC0A1B40D384F267/image-size/large?v=v2&px=999 "SourcetreeUninstallIssue.PNG")

The older versions do appear in Settings... Apps \& Features in Windows 10, but if select one of these older versions and click "Uninstall", the system returns an error dialog (second dialog in image) about a missing installer file. (The file does not exist.)

I have tried some of the suggestions in the related posts, but so far without success.


Answers:
author: minnsey
body: Hi  

Download the installer for each version from <https://www.sourcetreeapp.com/download-archives> and re-run them you should be offered the option to uninstall.  

That page doesn't list all versions, but if you take the URL of one you can amend it to get other versions,   

<br />

<https://downloads.atlassian.com/software/sourcetree/windows/SourceTreeSetup_1.9.6.1.exe>  
<https://downloads.atlassian.com/software/sourcetree/windows/SourceTreeSetup_1.9.6.2.exe>  


author: Paul Lotz
body: OK, that did work (and I didn't have to uninstall the new version).

Note that it is necessary to complete the installation, including signing in, in order for the uninstaller to work. (I tried not signing in, but just closing the window. Then clicking Uninstall after the confirmation does nothing.)

I ran the Uninstall from Settings... Apps \& features page. The two older versions no longer appear there. The warning dialog that used to appear every time I opened the new version no longer appears.

Thanks for the helpful answer!
Sourcetree Mac won't commit
Asked by eci_osc:

After updating to 3.1.1 I can't seem to commit anything. It sees the changes but then it still says there are changes to commit. I tried removing Sourcetree and re-installing it. I have verified that I can commit these changes with the command line hg tool.


Answers:
author: bgannin
body: Hi [@eci_osc](/t5/user/viewprofilepage/user-id/1108976),

There is a [known issue with Mercurial](https://jira.atlassian.com/browse/SRCTREE-6435) and committing partial sets (unchecking one or more files) that will get fixed up this week. Our apologies for the hiccup.

Brian Ganninger  
Principal Developer, Sourcetree
I'm consistently logged out of Confluence in 15 - 20 min
Asked by John Martens:

Hello, I'm consistently logged out of Confluence in 15 - 20 min. I've ready the various articles of setting a threshold however this is not happening to anyone else that has access in our company. It's only me. Is there an individual setting? I've already allowed all cookies from the site.


Answers:
author: Kristian Klima
body: Hi [@John Martens](/t5/user/viewprofilepage/user-id/5445405)

Do you use any form of 2FA or SSO login (such as Okta) to the Atlassian Org?

It'd be weird that it happens only to you but not impossible (if you're left out from a group setting for a specific cohort of users).

In other words, this can be outside of Confluence so I'd get in touch with your IT/DevOps admins.


Tags: cloud

confluence-cloud
Authentication Successful s ? ?????
Asked by yoshimichi murakami:

??????????registration Bitbuckets ???????????????Authentication Successful s?????????????????


Answers:
author: Ai Hirama
body: ????????????????????

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

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

comments: author: yoshimichi murakami
body: ??????????

??????????


author: Ai Hirama
body: ??????????????????

????????????????????????IE??(Chrome??)?????????????????????


author: yoshimichi murakami
body: ???????????chrom???????????????????

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


author: yokott 13
body: ???????????????????????????


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

[@yoshimichi murakami](/t5/user/viewprofilepage/user-id/2804755) [@yokott 13](/t5/user/viewprofilepage/user-id/2834129)

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

* ?????? SourceTree ? Windows ??, Mac ??
* ?????? SourceTree ??????
* ????????????????????????
  * ????????????????????????: _HAProxy v1.8.2_, _Nginx v1.12.2_, ???
  * ?????????????????????????????????????????????????????????????

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


author: yokott 13
body: ???????????????

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


author: yokott 13
body: ??????????????????????


author: yoshimichi murakami
body: ???????????????????????????????????????????????????

comments: author: K. Yamamoto
body: [@yokott 13](/t5/user/viewprofilepage/user-id/2834129) [@yoshimichi murakami](/t5/user/viewprofilepage/user-id/2804755)

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

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


Tags: language-ja
Can Confluence update Jira fields
Asked by Vasiliou, George:

Smartsheet had a connector so you could update a field in Smartsheet and it could update a Jira field and vice versa in both directions. I know Jira and Confluence have built-in functions to create tickets, pull reports, etc. But do you know if I can add one or more specific fields in Confluence, and it would update that field in Jira tickets and vice versa bi-directionally?


Answers:
author: Vronik
body: Look ah this

<https://community.atlassian.com/t5/Jira-Software-questions/Update-a-jira-ticket-field-from-confluence/qaq-p/1677238>

<https://jira.atlassian.com/browse/CONFCLOUD-54854>

comments: author: Vasiliou, George
body: Interesting, but not exactly what I am looking for. I want to update a field in Confluence, and it pushes the update to Jira. Thank you.


Tags: cloud

confluence-cloud

jira
which one to use between rest api vs rest api v2
Asked by Sachin Somannavar:

url = "<https://your-domain.atlassian.net/wiki/rest/api/space>"

this is for getting the spaces in rest api

this is the url I am using url = f'<https://api.atlassian.com/ex/confluence/cloudid> /rest/api/space' and it is working

url = "https://{your-domain}/wiki/api/v2/spaces"

if I use this url url = "<https://api.atlassian.com/ex/confluence/cloudid/wiki/api/v2/spaces>"

this is for getting the spaces in rest api v2 , it is not working , what I am missing in rest api v2 ?


Answers:
author: marc -Collabello--Phase Locked-
body: \`api.atlassian.com\` is for OAuth access, \`XXXX.atlassian.net\` is for Basic Auth access.

That means you need to use the correct url depending on your authentication method.


Tags: cloud

confluence-cloud