youngmon/atlassian-qna huggingface dataset:
Source Tree fails to push. SSH set. Can see projects too.
Asked by Laurynas Usas:

Can see all repos on github and bitbucket. SSH generated through sourcetree and set up on the websites. However everytime i try to push to repo that was started locally to newly created remote one. I keep getting error:

git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree push -v --tags --set-upstream \[changed\] refs/heads/master:refs/heads/master

Pushing to git@bitbucket.org:\[changed\]/\[changed\].git

Permission denied (publickey).

fatal: Could not read from remote repository.

P.S. $ ssh -T git@bitbucket.org fails.

ssh sored in \[username\]-Bitbucket.pub but it looks that when it testing ssh, it does not try this one..


Answers:
author: Laurynas Usas
body: Hi Ana, I can't try that now as I made it working by:

1. Manually deleting SourceTree generated keys froms \~/.ssh

2. Generating new key in \~/.ssh/id_rsa

3. using cat \~/.ssh/id_rsa.pub \| pbcopy. As when under user settings in SourceTree it was changed to use id_rsa ssh. When pressing copy to clipboard, it copied:

```
-----BEGIN RSA
```

4. Changing config files in both \~/.ssh and project /.git

It still puzzles me why it did not work with key generated through SourceTree.


author: Ana Retamal
body: Hi Laurynas, can you confirm that you followed the steps at [Repository setup](https://confluence.atlassian.com/bitbucket/repository-setup-877174034.html)?

Also, make sure you're using the right username and the right key. You can see which username is trying to authenticate using:

```
git -Tv git@bitbucket.org
```

You can list the available SSH keys using

```
ssh-add -l
```

Let us know!

Ana

comments: author: rtharston
body: Seeing your comment about ssh-add I decided to run ssh-add on the key stored in \~/.ssh/\<key name\> (it wasn't in id_rsa).

That fixed it for me. After running ssh-add \<file name\> I was good to go. Now it shows up when I run ssh-add -l.

Then I found this question here where the answer says to do just that: <https://community.atlassian.com/t5/Bitbucket-questions/Pushing-to-Remote-Erroring-SourceTree/qaq-p/711161>

So my question is, why aren't the ssh keys generated by Sourcetree not getting added to ssh-agent?


author: minnsey
body: Hi   

If this in on Windows have you tried setting the key in Tools/Options/General tab?


Tags: mac
sourcetree push git-LFS fails with missing refs but CLI succeeds
Asked by Garry Haywood:

We have a problem when pushing a git-lfs enabled repo (master and branches all have the same problem)

When we push via source tree (2.4.8.0) Git (system 2.16.1 64bit) and Git-LFS (3.2.4 and bitbucket adapter 1.0.6) fails with a fatal error

*Git LFS: (3 of 4 files) 1.53 GB / 1.89 GB*   
*EOF*   
*Git LFS: (3 of 4 files) 1.53 GB / 1.89 GB*   
*error: failed to push some refs to 'git@bitbucket.org:kinicho_dev/qqta.git'*

Yet if we push with CLI (mintty 2.8.3 x_64-pc-msys) it succeeds.

Two things to note:

1. The only difference we can see is is authentication - sourcetree is authenticated with 1023 key generated by putty while CLI is with a 4096 key generated by OpenSSH from the command line. Could this be the culrpit?
2. A GIT_TRACE when pushing with CLI shows a *skipping files* message, is SourceTree not handling these and causing the error?

Any thoughts gratefully received.


Answers:
author: Mike Corsaro
body: Hello!

Could you try enabling "Enable verbose console output" under Options \> Git, and also enable "Always display full console output" under Options \> General? After doing that, could you try pushing again and then provide the output?

Thanks!


Tags: error

git

git-lfs

push
Cannot recieve verificatoin email required for login
Asked by Kesavamoorthy:

Hi,  

My colleague has recently started and we are trying to set up an Atlassian ID so that we can install sourcetree, however the verification email is not arriving. We have checked the spelling of the email address, and tried the resend button, however it is still not arriving.

Any help with this matter would be great,

Thank you,

Kesav


Answers:
author: Ana Retamal
body: Hi Kesav, can you confirm that have you checked the spam folder? If it's not there and your colleague is still not receiving the confirmation email, we'll need to open a Support ticket so we can investigate why is this happening?

Best regards!

Ana

comments: author: Kesavamoorthy
body: Hi Ana / Team,

Thank you for your quick help!! Bitbucket Cloud Support team resolved the issue for the ticket [#BBS-73314](https://urldefense.proofpoint.com/v2/url?u=https-3A__getsupport.atlassian.com_servicedesk_customer_portal_11_BBS-2D73314-3Fsda-5Fsource-3Dnotification-2Demail&d=DwMFaQ&c=j-EkbjBYwkAB4f8ZbVn1Fw&r=pc-kcFbHYpZYEbZXwEYdhW0ctpn5JTEp_R73Fa1LwNk&m=isBw24zIujsydvlWTdSGhaDx6b3gwuFXkKrDfMy1Bt8&s=drRYhKk9pVJ5mRE7Zdqi6CbHFLtR0F68qfCYxV24958&e=). Email received finally!!


author: Ana Retamal
body: Glad to hear that, Kesav!

Have a good day :)

Ana
warning: unsupported ssl version tslv1.2: using default
Asked by Sumit Bansal:

Getting following error in SourceTree while doing push/pull "warning: unsupported ssl version tslv1.2: using default" I have latest version of SourceTree and have enabled Tls1.2


Answers:
author: Nic Brough -Adaptavist-
body: Why did you enable it? It's insecure and hence should not be used any more.

Try turning it off and using a supported SSL version.

comments: author: Sumit Bansal
body: Initially only SSL3 was enable but still this error was coming, not I unchecked all three SSL3, TLS1.1 and TLS 1.2 but still this warning is coming up

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


author: Nic Brough -Adaptavist-
body: Thing is, there's no actual error here, so I'm not sure why you were messing with the settings. There is a warning, but the command executes fine.


author: Andrew Magill
body: The problem is that SourceTree's embedded Git client comes with git-credential-manager v1.12, which no longer works with Github since they disabled TLS 1.1 on their site. You need to get git-credential-manager v1.14. Easiest way to do that is to install a current copy of the Git client separately, and then switch SourceTree over to use that ("system git") instead of its embedded client. Alternatively, you can update git-credential-manager in your embedded client by replacing its files with the [newest version from Microsoft](https://github.com/Microsoft/Git-Credential-Manager-for-Windows/releases/tag/v1.14.0).


Tags: tls
Can't login to GitHub
Asked by Adrian T:

Although I worked with SourceTree for months on this computer, I can't login to git hub anymore. When I fetch/pull/ etc., I get a Git login. I enter the correct password and user and the window keeps popping out.

I tried logging into Github site and it worked perfectly. I also tried copying the password so that I won't be wrong. I also tried logging in to the email instead of the username, none of it worked.I am using the latest version of SourceTree. I also tried deleting the user in the settings and creating a new one, although the old user used to work and just stopped working for no reason.

How do I resolve this issue


Answers:
author: Andrew Magill
body: The problem is that SourceTree's embedded Git client comes with git-credential-manager v1.12, which no longer works with Github since they disabled TLS 1.1 on their site. You need to get git-credential-manager v1.14. Easiest way to do that is to install a current copy of the Git client separately, and then switch SourceTree over to use that ("system git") instead of its embedded client. Alternatively, you can update git-credential-manager in your embedded client by replacing its files with the [newest version from Microsoft](https://github.com/Microsoft/Git-Credential-Manager-for-Windows/releases/tag/v1.14.0).

(This text here because apparently this forum doesn't like it when you post the same message in multiple threads.)
github.com login works but same github login from Sourcetree will not
Asked by Kyle Patrick:

Hi,

As subject line indicates, my github.com login works but same github login from my git client Sourcetree will not? I've verified it several times and even changed my password. Is there something I'm doing wrong here? Sourcetree software is up to date.

Kyle


Answers:
author: Andrew Magill
body: The problem is that SourceTree's embedded Git client comes with git-credential-manager v1.12, which no longer works with Github since they disabled TLS 1.1 on their site. You need to get git-credential-manager v1.14. Easiest way to do that is to install a current copy of the Git client separately, and then switch SourceTree over to use that ("system git") instead of its embedded client. Alternatively, you can update git-credential-manager in your embedded client by replacing its files with the [newest version from Microsoft](https://github.com/Microsoft/Git-Credential-Manager-for-Windows/releases/tag/v1.14.0).

(This text here because this site doesn't allow you to post the same message in multiple threads.)

comments: author: Kyle Patrick
body: Andrew,

Thanks for replying to me. Unfortunately I'm sort of a git novice - i know just enough to push commits to github using Sourcetree and that's it. So I don't quite understand the solutions you're giving me. Do you guys have a document or knowledge base article providing step-by-step instructions on what I need to do?

Kyle
Windows SourceTree 2.4.8 git lfs does not work
Asked by Andrew Girin:

Hello!

I am trying to use git lfs with Bitbucket. Everytime I set it up on my local PC git lfs just does not work. I get this:

![Capture.PNG](/t5/image/serverpage/image-id/15700i064F5C066B95897E/image-size/large?v=v2&px=999 "Capture.PNG")

When I go to terminal and type git lfs track it tells me - track is not git command...

I found if I add git-extras to my path git lfs command start working but it hangs. Basically I type \`git lfs track\`, Enter and command never returns...

Any suggestion?

Thanks!

Andrew


Answers:
author: Mike Corsaro
body: Hello! To help, I'll need some more information:

* Are you using embedded, or system git? (check Options \> Git)
* Which version of git and git-lfs does Sourcetree detect? You can check under "Git Version" under Options \> Git
* Have you tried switching to System Git (or Embedded Git if you're using System Git)?

comments: author: Andrew Girin
body: Hi Mike,

I am using embedded Git:

I don't have system git installed.

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


author: Mike Corsaro
body: Could you try installing [Git for Windows](https://git-scm.com/download/win), and then click the "Use System Git" button (restart Sourcetree after installing, and then click it)?

**Make sure the "Git LFS" checkbox is checked when it asks you to select components.**

After doing that, can you try again and see if it works?
Cannot authenticate to Github through Sourcetree desktop
Asked by Bohdan Sverediuk:

I am using the latest version of Sourcetree desktop (version 2.4.8.0), and it keeps asking me for GitHub authentication. No matter what I enter there (username, email, password, github generated token), it keeps popping again. Note that I am able to authenticate to my Github account successfully through web, so that's not a spelling issue. I have also contacted the Hithub support already, they have advised to upgrade to the latest version of Sourcetree and then contact you if it doesn't help.

Do you have any ideas what's causing this and how it can be fixed![Capture.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/15672iE106C08032FE4FF9/image-size/large?v=v2&px=999 "Capture.PNG")


Answers:
author: Mike Corsaro
body: Hello! Could you try the following:

* Remove the account via the options screen
* Try pulling again
* Insert your username + password

If that doesn't work, try adding the GitHub account with OAuth:

* Options \> Accounts
* Add a new account, but set "Authentication" to "OAuth"
* Login, switch back to Sourcetree
* Try pulling again

comments: author: Andrew Magill
body: The problem is that SourceTree's embedded Git client comes with git-credential-manager v1.12, which no longer works with Github since they disabled TLS 1.1 on their site. You need to get git-credential-manager v1.14. Easiest way to do that is to install a current copy of the Git client separately, and then switch SourceTree over to use that ("system git") instead of its embedded client. Alternatively, you can update git-credential-manager in your embedded client by replacing its files with the [newest version from Microsoft](https://github.com/Microsoft/Git-Credential-Manager-for-Windows/releases/tag/v1.14.0).

I'm kind of stunned that Atlassian doesn't seem to be acutely aware of this issue.
How to view list of files from error after Pull ?
Asked by dmi3ich:

Hello, I have list of untracked files in error message after Pull: those files are in git repo and in my local version. How I can view those problem files in one list? I have in drop-down menu Untracked, but this view all untracked files in my local repo. Only solution is one-by-one find those files and solve them, but it's **very** time consuming. Thank you in advance


Answers:
author: minnsey
body: Are these files in conflict?  

Could you post a sample of the error you see?
Can't log in
Asked by Alexandr Kapshuk:

I changed the password several times and I'm sure I'm entering right username/password combination

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


Answers:
author: Alexandr Kapshuk
body: The problem was solved in this thread

[https://community.atlassian.com/t5/Sourcetree-questions/Login-popup/qaq-p/735716?utm_campaign=accept_as_solution_reminder\&utm_content=view-answer\&utm_medium=email\&utm_source=atlcomm#U736918](https://community.atlassian.com/t5/Sourcetree-questions/Login-popup/qaq-p/735716?utm_campaign=accept_as_solution_reminder&utm_content=view-answer&utm_medium=email&utm_source=atlcomm#U736918)


author: Mike Corsaro
body: Hello! Try using the OAuth feature:

* Just change the "Authentication" to "OAuth" and click "Refresh password"
* Your browser should open and you can login/authorize
* Switch back to Sourcetree and everything should be OK
Not fetching - Server down?
Asked by Pete Short:

I am trying to pull the latest version of our project. Usually this is very straight forward. But today when I try to pull or fetch it just sits on the fetch command:

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

I tried to update the SourceTree software via the app and it just hangs as well. I went to the site to try and upgrade from there:

<https://support.atlassian.com/contact/#/>

Page contains this upgrade link:

<https://downloads.atlassian.com/software/sourcetree/windows/ga/SourcetreeSetup-2.0.19.1.exe?_ga=2.80315991.1121979362.1519341958-873507897.1518134917>

When I go to that link, I get a 404 error:

Not Found {#toc-hId-1790650394}
-------------------------------

The requested URL /software/sourcetree/windows/ga/SourcetreeSetup-2.0.19.1.exe was not found on this server.

*** ** * ** ***

Apache/2.2.22 (Ubuntu) Server at downloads-origin.atlassian.com Port 80

I assume it is all related. Does this mean the server is down? I am located in Australia if that makes a difference.

Thanks

Pete


Answers:
author: Pete Short
body: Update - after three computer restart it now appears to be pulling. I can't explain why.


author: Pete Short
body: An update - it appears that other repositories on my machine are successfully fetching. Just not the one in question. I have gone on BitBucket and can confirm that my account still has access to this repository.
GitHub with 2FA - OAuth no longer working
Asked by Andrew Whitegiver:

Starting today, I cannot connect to GitHub with my configured OAuth connection. Every time I try to pull or push it endlessly prompts me for my GitHub credentials, which I supply, but it rejects. My GitHub account is configured for 2 Factor Authentication (2FA) and it never prompts me for the 2nd code send to my phone, and no code is actually sent to my phone anyway.

All of this should be moot, however, because I am using OAuth and 'SourceTreeForWindows' is set up as an 'Authorized OAuth App' in GitHub.

Things I've Tried:

* Refresh OAuth Token. **Result**: seems to be successful but the endless pop-ups prompting me for credentials continues
* Revoke access for 'SourceTreeForWindows' in GitHub and *then* Refresh OAuth Token. **Result**: re-adds 'SourceTreeForWindows' as an authorized OAuth App in GitHub, but the endless pop-ups prompting me for credentials continues
* 1) Remove all entries for sourcetree and git in 'Manage Windows Credentials', 2) delete all accounts under Options -\> Authentication in SourceTree, 3) Uninstall SourceTree from the Control Panel, 4) Completely delete %AppData%/Local/SourceTree and %AppData%/Local/Atlassian folders, 5) revoke 'SourceTreeForWindows' access in GitHub, 6) reinstall SourceTree 2.4.8 from scratch and re-add the OAuth connection to GitHub. **Result** : the endless pop-ups prompting me for credentials continues. I still cannot pull or push.

What gives? How did it just stop working all of the sudden?


Answers:
author: Andrew Whitegiver
body: I was able to fix it by ditching OAuth.

I removed the OAuth account under Options -\> Authentication in SourceTree, then I generated a Personal Access Token in GitHub (under Developer Settings). Then I added a new GitHub account in SourceTree and selected "Basic" authentication instead of "OAuth" and used the Personal Access Token I previously generated as my password.

That got me all up and running again.

comments: author: Keith Smith
body: That failed for me.


author: Sven Thoennissen
body: Worked great for me, thanks! I enabled 2FA in Github, and somehow I messed things up, this post resolved it.


author: James McParlane
body: This does not work with the latest Sourcetree 2.4.8.0


author: Sreeharikrishan Vaitla
body: Git just recently deployed a change that disables support for deprecated legacy TLS and SSH algorithms, including those that were used in older versions of some Git clients:

<https://githubengineering.com/crypto-removal-notice/>

Anyone found solution for this?

comments: author: gamegineer
body: I was able to get the SourceTree 2FA dialog to pop up after uninstalling and reinstalling SourceTree a few times, upgrading system Git and rebooting a few times. Not sure which action fixed the problem of 2FA not displaying but there's a fix in that combination somewhere.


Tags: 2-factor-authentication

github

oauth
we are using confluence 7.4.0. how do I get Licensed users count in confluence mysql database?
Asked by bhavani prasad moru:

**host details :**

NAME="Oracle Linux Server"

VERSION="7.9"

**database details:**

Server version: 5.7.44

**confluence version: 7.4.0**

license for users was exceeds we are planing to reduce license users count. how do I get users count in mysql database.


Answers:
author: Sayed Bares [ServiceRocket]
body: [@bhavani prasad moru](/t5/user/viewprofilepage/user-id/5389378) Welcome to the Atlassian community!

I believe [this article](https://confluence.atlassian.com/confkb/how-to-get-a-list-of-active-users-counting-towards-the-confluence-license-298978076.html) answers your question.


Tags: confluence-server

server
Can't hyperlinks work in ?PlantUML for Confluence??
Asked by Yui Tanaka:

Can't hyperlinks work in "PlantUML for Confluence"?  
I read that hyperlinks can be used in "PlantUML", but when I actually used PlantUML for Confluence, the hyperlinks did not work.  
I would like to create a flow diagram with hyperlinks.


Answers:
author: Igor Medeiros - Modus Create
body: Hi [@Yui Tanaka](/t5/user/viewprofilepage/user-id/4761983)

Just wanted to mention that our app [Markdown, HTML, PlantUML, LaTeX, Diagrams, Open API, Mermaid](https://marketplace.atlassian.com/apps/1211438/markdown-html-plantuml-latex-diagrams-open-api-mermaid?hosting=cloud&tab=overview) allows for hyperlinks in PlantUML and all other diagram types that we support.

Feel free to reach out if you'd like to learn more.


author: Guanglin Zhang _XDevPod_
body: Hi Tanaka, I have used this feature in Confluence before and it should be possible. You can try the Apps in the Marketplace search results.

<https://marketplace.atlassian.com/search?query=plantuml>

Alternatively, could you share your plantuml source code so that I can give it a try.


Tags: cloud

confluence-cloud
A way to get the actor who did the action in script listener code?
Asked by Shelton, Lindsay:

Hello,

I have code that I've updated from Confluence Server that tracks 4 types of page activities and stores a record of what has happened into a SQL database. On Server, we were able to get the name of the actor who created, updated, moved, or deleted the page. I have been unable to figure out how to find this information in Cloud.

TY in advance!


Answers:
author: Sayed Bares [ServiceRocket]
body: [@Shelton, Lindsay](/t5/user/viewprofilepage/user-id/5275702) welcome to the Atlassian community!

I believe this information can be found in **Audit logs** and**Behaviour logs**.

For more information, you can refer to <https://docs.adaptavist.com/sr4jc/latest/best-practices/review-logs>

comments: author: Shelton, Lindsay
body: Thanks Sayed! I should have been more specific - I want to know if I can grab that information inside of the script listener code so that then I can send that information to SQL.


Tags: cloud

confluence-cloud
Is there a way to leave an in-line comment on a page?
Asked by Janet Shuey:

I want to leave a comment that reminds me to fix something on a page and I want the comment to be on the page.


Answers:
author: Nic Brough -Adaptavist-
body: If you select a bit of text, and hover over it, a box should appear above it, with at least one clickable icon, one of which is "create inline comment for the highlighted text"

comments: author: Barbara Szczesniak
body: Just a note: do this when you are in View mode; it doesn't appear in Edit mode.


Tags: unknown-hosting-type