youngmon/atlassian-qna huggingface dataset:
Accessing a Git repository with SSH without using keys
Asked by karel:

How can I access a repo via SSH with a password and without using keys?


Answers:
author: Ana Retamal
body: Hi Karel, welcome to the Community.

To access a repo via SSH you need to set SSH keys. Using a separate password wouldn't be possible and it would defeat the purpose of SSH:
> When you set up SSH, you create a key pair that contains a private key (saved to your local computer) and a public key (uploaded to Bitbucket). Bitbucket uses the key pair to authenticate anything the associated account can access. **This two-way mechanism prevents man-in-the-middle attacks.**

For more information you can read [Set up an SSH key.](https://confluence.atlassian.com/bitbucket/set-up-an-ssh-key-728138079.html)

If you'd prefer to enter your password with every interaction, is there a reason why you wouldn't use HTTPS? You can find a comparison at [SSH keys](https://confluence.atlassian.com/bitbucket/ssh-keys-935365775.html).

Let us know,

Ana

comments: author: karel
body: Hi Ana,

I understand the reason for SSH and keys. However, I spent a whole day on Sunday fighting my Synology NAS box with using keys. For some reason, it is rejecting the private Key. I'm frustrated with this mess and would just like to update my repo. That's why I wanted to use it as a backup my username and password. I was using Putty to generate the keys.
SourecTree Registration leads to dead link
Asked by Mark Delarosa:

Hi all, I've been trying to register for SourceTree via the pop up window that displays upon turning on the program. Yet I consistently get directed to a 404 page, I tried three separate internet browsers. Moreover, I've tried looking for a license on the my.atlassian site, but it seems that SourceTree isn't even an option. Among the options are Bitbucket and Jira. Is there something I'm overlooking? Help is greatly appreciated


Answers:
author: Stephen Sifers
body: Hello Mark and welcome to the Community!

Thank you for explaining your issue and letting us know the steps you've taken this far. I would like to ask you to download a new version of Sourcetree (<https://www.sourcetreeapp.com/>) and attempt the registration again once installed. If you have an older version installed it may not be pointing to the correct URL.

If you're still having issues getting to the registration link, please copy and paste the URL which is giving you the 404 error so we can track this down on our end.

We look forward to hearing back to ensure you're able to use Sourcetree without an issue.

Regards,  
Stephen Sifers

comments: author: Vikash singh
body: we are getting same error URL is " <https://my.atlassian.com/license/sourcetree>"

Regards

Vikash
Can I make a URL to open Sourcetree to a specific commit (similar to clone in Sourcetree
Asked by Eric F_:

Sourcetree supports a custom URL protocol (in Mac at least) that allows creating links to clone a given repo in Sourcetree. My question is is it possible to create a link that will open Sourcetree to a given commit? Something like \`sourcetree://openTo?commitId=12sha123\`.


Answers:
author: bgannin
body: Hi [@Eric F_](/t5/user/viewprofilepage/user-id/1307034),

Thank you for interest, it's certainly one that's crossed our minds a time or two. That's not currently possible but we welcome feedback via votes, watchers, and comments on applicable tickets in [our public tracker](https://jira.atlassian.com/browse/SRCTREE). These help us prioritize items for future updates.

Cheers,

Brian Ganninger  
Principal Developer, Sourcetree
Sourcetree(3.2.1) asks for bitbucket password
Asked by Anders Lund:

When I'm trying to clone a repo from bitbucket to sourcetree it asks for bitbucket account password that I know is the correct Atlassian password. But the password keeps getting rejected every time. Is there any fixes for this? I have tried downgrading to 2.6 version with no luck, used both system git and embedded git with no luck. How can i fix this? Thanks


Answers:
author: Ana Retamal
body: Hi Anders, welcome to the Community!

If you haven't done this already, I'd recommend that you connect your Bitbucket account to Sourcetree following the steps at [Connect your Bitbucket account](https://confluence.atlassian.com/get-started-with-sourcetree/connect-your-bitbucket-or-github-account-847359096.html), so it doesn't ask you for authentication anymore.

I'd also recommend checking that there are no previous incorrect passwords, both in Sourcetree and in your credential manager.

Hope that helps!

Ana

comments: author: Anders Lund
body: Hi i'm very sure that my account is connected but it still asks for the bitbucket password.

And I'm typing in my correct Atlassian password but it says its wrong

![Skjermbilde 2019-07-29 kl. 16.41.52.png](https://community.atlassian.com/t5/image/serverpage/image-id/61740i84B78391957A37A5/image-dimensions/356x201?v=v2 "Skjermbilde 2019-07-29 kl. 16.41.52.png")![Skjermbilde 2019-07-29 kl. 16.41.13.png](https://community.atlassian.com/t5/image/serverpage/image-id/61741iA9598E5ED3AB2090/image-dimensions/356x236?v=v2 "Skjermbilde 2019-07-29 kl. 16.41.13.png")
Not able to make any request from sourcetree. Getting an error to solve captcha
Asked by vkadam6:

I am not able to make any request from sourcetree. Since SSO are enabled and there is no bit bucket login screen for <https://sourcecode.jnj.com> to solve captcha.


Answers:
author: Stephen Sifers
body: Hello and welcome to the Community!

Thanks for sending over the error your getting along with the steps you've taken. We would like you to attempt one more try at the following:

* Close Sourcetree
* Remove your password file from the following directory:
  * Windows: C:\\Users\\USERNAME\\AppData\\Local\\Atlassian\\SourceTree
  * MacOS: \~/Library/Application Support/SourceTree
* Open Sourcetree and attempt authenticating again.

Please let us know the outcome.

Regards,  
Stephen Sifers
External diff/merge tool not launching through SourceTree
Asked by salamono:

Hello everyone,

as many other users I have problems with opening an external Diff/merge tool. I have read most of the threads but can't seem to figure out the problem. The tool just doesn't launch. It appears in the list in options. I'm pretty new to Git so please bear that in mind.

The .gitconfig file in C:/Users/.../ does not change when I change the tool in my settings. I manually added the program as such:

```
[difftool "sourcetree"]
cmd = 'C:\Program Files\Beyond Compare 4\BCompare.exe' \"$LOCAL\" \"$REMOTE\"
trustExitCode = false
[mergetool "sourcetree"]
cmd = 'C:\Program Files\Beyond Compare 4\BCompare.exe' \"$LOCAL\" \"$BASE\" \"$REMOTE\" \"$MERGED\"
trustExitCode = false
keepBackup = false
```

but it didn't help. However, it seems that changes affect the user.config XML file, changing:

```
 <setting name="DiffCustomCmd" serializeAs="String">
<value>C:\Program Files\Beyond Compare 4\BComp.exe</value>
</setting>
<setting name="MergeCustomCmd" serializeAs="String">
<value>C:\Program Files\Beyond Compare 4\BComp.exe</value>
</setting>
```

But the application still doesn't start.

I also tried changing tool with the Process Viewer enabled but the list is flooded with hundreds of messages and the "Clear Logs" button doesn't work for me when the "Tools" \> "Options" dialogue is open.

I am using version 3.1.3.3158, embedded.

Many mention the issue being related to environment variables. I don't seem to have any of the "HOME", "HOMEDRIVE", "HOMEPATH" variables in my list. How do they work?

Would greatly appreciate some help!


Answers:
author: Mike Corsaro
body: Hello! You should be able to just create a HOME environment variable and set it to %USERPROFILE%. You might also have luck running the git installer again and making sure it's set to add git to your path.
How i delete this branch or graph from my workspace?
Asked by SofiArkano:

i need delete this branchs who are marked in this capture, and i dont know how.

i try with the "reverse commit" and the "reset current branch to this commit" options but doesent work.![Captura.PNG](/t5/image/serverpage/image-id/61335i5489A7326E5A9DC0/image-size/large?v=v2&px=999 "Captura.PNG")


Answers:
author: Mikael Sandberg
body: Hi [@SofiArkano](/t5/user/viewprofilepage/user-id/3504976),

Welcome to Atlassian Community.

The HEAD is a pointer and determine your current working revision and cannot be deleted. As you can see at the top, your repository is in a [detached head](https://git-scm.com/docs/gitglossary#Documentation/gitglossary.txt-aiddefdetachedHEADadetachedHEAD) state, meaning you have checked out a specific commit instead of a branch, and your changes does not belong to a specific branch. To get out of the detached head state and remove your changes, just checkout one of your branches. If you want to keep the changes you made, just create a new branch and your changes will be associated with it.
SourceTree won't launch
Asked by shinnlu:

i am using mac os 10.11.6, i was using 2.7.6 for a long time without problem, but the UI Response was getting slower, so i download the latest version 3.2.1_225, but it's won't launch.

the error message:

# open Sourcetree.app/  
LSOpenURLsWithRole() failed with error -10825 for the file /Applications/Sourcetree.app.

if you need more information, please tell me.


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

2.7.6 is the last release compatible with 10.11.x. The 3.x series works on 10.13 or higher. The error is coming from the OS when trying to run a "future" app. Hope that helps.

Brian Ganninger  
Principal Developer, Sourcetree

comments: author: shinnlu
body: thanks for the answer, because i got error message 'Update Error!' when 'check for update', so i download manually.
Packaging SourceTree
Asked by Jacob Khunwana:

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

During the process of packaging sourcetree, the installation process opens up registration page. Does it mean every time a user request sourcetree will have to create an account?


Answers:
author: bgannin
body: Hi [@Jacob Khunwana](/t5/user/viewprofilepage/user-id/3503294),

There is not a way to install a site-wide license of any type via an image/package. You can configure several options with a profile but each new install does need to login via one of the two options (Cloud or self-hosted) to register the free application.

Brian Ganninger  
Principal Developer, Sourcetree
Strange error after setting up ssh from windows
Asked by joymaker3:

I did everything described here for my bitbucket repo:

<https://confluence.atlassian.com/bitbucket/set-up-an-ssh-key-728138079.html>

I got this inscrutable error when I tried to use sourcetree to do a test pull. What to do next?

![HG problems.jpg](/t5/image/serverpage/image-id/61138i2430A356D223020C/image-size/large?v=v2&px=999 "HG problems.jpg")


Answers:
author: Daniil Penkin
body: Hello [@joymaker3](/t5/user/viewprofilepage/user-id/1868021),

I'm not absolutely sure but it looks like the main issue here is **Host key verification failed** message, and that error might be causing the rest of reported issues.

This error generally means that the host key of the remote host was changed, however Bitbucket hasn't been updating any SSH keys for a long time, so there's likely something else in your setup that is causing the error.

For instance, you might have had some custom configuration of SSH client or hosts file. Unfortunately, it's hard to guess without additional information.

What you can check is Sourcetree log file -- it might give a hint what hostname did Sourcetree try to reach. On Windows the log file resides here:

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

The easiest would probably be to clear that file, then reproduce the error and check it again right after that.

Cheers,  
Daniil


Tags: bitbucket

bitbucket-cloud

cloud

windows
Using Git flow in team environment - init git flow locally on every machine?
Asked by Christian Lange:

Our team members share a Bitbucket repository. We initialized git flow via source tree on one members machine and do use the provided features locally and remotely. But on other members machines pressing the git flow button results in the default dialog for initializing git flow. I expected sourcetree to be aware that this step has already been done for the repo and instead show the options for creating/finishing release, features and such. Do I need to init git flow on every machine? And are there any caveats I should be aware of?


Answers:
author: bgannin
body: Hi [@Christian Lange](/t5/user/viewprofilepage/user-id/2556991),

A few questions:

1. Was the configuration change after init'ing pushed to the remote repository and then pulled by the other users?

2. What version are you using and on what OS?

Brian Ganninger  
Principal Developer, Sourcetree

comments: author: Christian Lange
body: Hi [@bgannin](/t5/user/viewprofilepage/user-id/744444),

1) (Hope I understand your question - I'm not a native speaker) The repository was initially created without any git-flow functionality. We tried to switch to git flow much later. Members regularly pull from the remote repo.

2) Windows 10 Enterprise, Sourcetree 3.1.3


author: bgannin
body: Hi [@Christian Lange](/t5/user/viewprofilepage/user-id/2556991),

Once you run init git-flow the attributes are written to the config for the repository in /.git/config and that this file is shared and not an ignored file. Hope that helps a bit.

Brian
Error During Installation
Asked by Amit_Gaikwad:

![myatlassian.png](/t5/image/serverpage/image-id/61088iAF1D99AA3B4E29AB/image-size/large?v=v2&px=999 "myatlassian.png")![something went wrong.png](/t5/image/serverpage/image-id/61089iE5F2C1F5120D89D1/image-size/large?v=v2&px=999 "something went wrong.png")unable to pass through these screens


Answers:
author: Ana Retamal
body: Hi Amit, thanks for reaching out!

What version of Internet Explorer are you using? You'll need to make sure it's updated to the latest one, as Sourcetree relies on it for the authentication steps. I'd also advise clearing cache and cookies in the browser to remove any remnants that could be preventing the authorization.

Let us know how it goes,

Ana
Source Tree License expired
Asked by ashwinkumar rajaram Dhiware:

Hi Team,

I am getting below message on pop up window after launching source tree 1.7.0.32509

"Your trial for SourceTree expired. Ypu can keep using it for free, but first you need to register and import a license" with below three buttons,

1. Import License..

2. Register Now - Free!

3. Close

Let me know how to import the License or extend the license

can you do the screen sharing to guide me ?


Answers:
author: Ana Retamal
body: Hi, and welcome to the Community!

Sourcetree 1.7 is a very old version, the newest one is 3.1 for Windows and 3.2 for Mac. Is there a reason why you chose to use such an old one? Please be informed that several bugs and vulnerabilities have been fixed since, and we highly encourage you to move to the most recent.

With that said, Sourcetree no longer uses licenses, you'll just need to register with your Atlassian account (the same one you're using to access this forum) and you'll be able to use Sourcetree.

Hope that helps!

Ana

comments: author: ashwinkumar rajaram Dhiware
body: Hi Ana

Thanks for the information, I already installed the 3.1 version but when I am starting it, message gets appear on the screen saying that older version is present on your system and uninstall it.

The challenge is I do not have admin access to uninstall applications. Can you please suggest how to proceed from here
Install failed with"Failed to check login for user"
Asked by Thomas Henricksen:

We are trying to install SourceTree on a corporate VM. The VM is Windows 10 Enterprise(Version 1809). We are getting a certificate Error as well but we can login to the BitBucket server from the VM. We have setup IE to trust this URL. What steps do we need to take to resolve this issue?

![screenshot.jpg](/t5/image/serverpage/image-id/60880i28CB7B5AD3646D25/image-size/large?v=v2&px=999 "screenshot.jpg")


Answers:
author: Ana Retamal
body: Hi Thomas, welcome to the Community and thanks for reaching out.

I understand that you're installing Sourcetree on a VM, but it's not clear where Bitbucket Server is installed. Is it installed on a different machine?

If you're you still having this problem, it could be related to the Security levels in IE. Can you try the following:

* Turn off compatibility mode in IE. To do that, open Internet Explorer, go to the *Advanced options* tab and click on *Reset your Internet Explorer Settings*
* Check *Delete personal settings*
* Change your Internet Explorer Security Zone Settings:

1. Open IE, click on the gear
2. Select "Internet Options"
3. Select the "Security" tab
4. Select "Custom Level" for Internet
5. Find "Access data sources across domains" and select "Enable" (make note of what the setting currently is)
6. Try logging into Sourcetree again

After logging in, follow steps 1-5, but ***reset the setting back to the previous option***.

Let us know if you can log in now! If it doesn't, tell us which Sourcetree version are you using so we can continue helping you.

Best regards,

Ana


Tags: bitbucket

bitbucket-server

server

windows
Cannot see git flow preveiew
Asked by chunwen1995:

as title mentioned, still cannot work on git flow preveiew

source tree version: 3.2.1

mac os:10.14.5

![??????_2019_7_18_??1_57.png](/t5/image/serverpage/image-id/60806iEFBACC79AD9AE3F2/image-size/large?v=v2&px=999 "??????_2019_7_18_??1_57.png")


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

We'll take a look at this and whether an existing ticket covers the work.

Brian Ganninger  
Principal Developer, Sourcetree


Tags: git
Getting Error: fatal: could not read Password for 'https://username@bitbucket.org': No error
Asked by tzahn:

I am on a Windows 10 machine. I am using version 3.1.3 of Sourcetree. I am getting this error when I try to "Finish Feature".

I have completed this task many times in the past, but this is the second time since moving to this release that I have had this problem. Last time I manually merged my feature into the "develop" branch.

I have tried to change my account settings by going to Tools\>Options, Authentication tab. I see my account, expand it, then click "edit" so I can make changes. I am prompted for a password. I enter my password, and my account collapses and nothing else. Is there a way to reset my password?


Answers:
author: tzahn
body: I ended up updating my version of the Credential Manager from 1.12.0 to 1.19.9. Now all is good.

<https://github.com/microsoft/Git-Credential-Manager-for-Windows/releases/tag/1.19.0>

comments: author: Alastair McQueen
body: Had a similar problem merging LFT branches with otherwise functional oauth and giving a "could not read Password for" error. Updating/installing this immediately fixed this - thanks.


author: Mike Corsaro
body: Hello! I see that you're using basic authentication for login (ie: username and password). Could you try removing that account, and then re-add the account using OAuth as the authentication method? It tends to be a bit more reliable.

comments: author: tzahn
body: I changed to OAuth and that did not help.
How do I get source of a specific commit
Asked by jianbai-wang:

I have cloned a source branch. My understanding is that when you clone a branch, it get all the commits of that branch's history.

If I want to go back to a specific commit on the branch, how do I do that using SourceTree?

Thanks for any help.


Answers:
author: bgannin
body: Hi [@jianbai-wang](/t5/user/viewprofilepage/user-id/3404377),

You'll want to do one of the following:

1. select the branch in the sidebar and the commit graph will jump to the most recent one for that branch

2. You can filter based on the 'branches' popup on the left above the commit graph to

3. if you know details like commit author, date range, or message you can use Search to get that in list

Double-clicking on an entry in the commit graph will switch to that particular commit. Hope that helps a bit.

Brian Ganninger  
Principal Developer, Sourcetree
3K outstanding commits, all are metadata, can't commit and push it back to the repository. gitlab
Asked by Rio Lloyd:

so our environment artist has came on the gitlab repository, and is new, it suddenly says he has over 3K outstanding commits, but he cant commit any of them. and cant commit or push it back to the repository for all to use.

in his words:

"I can't get the repository to work basically. I have the project but can't commit and push it back to the repository for everyone to useOh and it says there are like 3k outstanding commits which is all meta data but won't let me commit them anyway"

and

" I have made changes on the branch I created (I hope anyway) made a new scene, added assets and saved the project in unity. Now...... It still says over 3k commits but now if I click commit it says there is nothing to commit..... I have clicked push though no idea if that will do anything. Read the tutorials but still none the wiser on this stuff to be honest, the examples just to different things to what I see on my screen"

any help is really appreciated!

we are using unity to develop our game if that helps.


Answers:
author: bgannin
body: Hi [@Rio Lloyd](/t5/user/viewprofilepage/user-id/3497963),

A few questions:

1. What version of Sourcetree is in use and on what platform?

2. Does it work from the command line?

3. Are they using HTTPS or SSH to connect?

Brian Ganninger  
Principal Developer, Sourcetree


Tags: gitlab
Page Properties Report - Change in Formatting?
Asked by Alyssa Fraser:

Did the Page Properties Report go through a change in formatting recently?

**Concerns:**

* Formatting went from looking really clean to a report I won't be able to use forward facing anymore
  * All copy is now centre text
  * Fields used to wrap text and are now all scrollable

Any formatting solutions before I knix using the report for a more manual solution?

Thanks!

A


Answers:
author: Barbara Szczesniak
body: [@Alyssa Fraser](/t5/user/viewprofilepage/user-id/5462756) Welcome to the Atlassian Community!

See this similar resolved question: <https://community.atlassian.com/t5/Confluence-questions/Page-Properties-Report-text-no-longer-wraps-Always-shows-scoll/qaq-p/2651582#M295850>


Tags: cloud

confluence-cloud
Filtering "Page Properties Report" by column values in Page properties macro
Asked by lisa.johnson:

There feels like there should be a solution to this problem in how I filter the Page Properties Report but I can't find it.

I have a*Page Properties Report* pulling pages using the standard [*DACI template*](https://www.atlassian.com/software/confluence/templates/decision). Is there a way to filter the report by one of the values on the DACI page? IE, so that the report only shows pages that have their status as "Undecided", or their Impact as "High"

Example of the Macro at the top of the standard DACI template page below:

![Screenshot 2024-03-26 141319.png](https://community.atlassian.com/t5/image/serverpage/image-id/314657i2E74BEC8441535D0/image-size/large?v=v2&px=999 "Screenshot 2024-03-26 141319.png")


Answers:
author: Stiltsoft support
body: Hi [@lisa.johnson](/t5/user/viewprofilepage/user-id/5462731) ,

You may check this Community question regarding the filtration inside the Page Properties Report macro: <https://community.atlassian.com/t5/Confluence-questions/adding-a-filter-to-the-Page-Properties-Report-Macro/qaq-p/209297>

comments: author: lisa.johnson
body: Thank you, took a bit of playing around but looks like adding pipes around the row title makes it possible to search for that string. More brute forcing then I would like but oh well.

Now to figure out how to search for the pages at the intersection of two tags (exclusive not additive grouping)


Tags: cloud

confluence-cloud

filter

page-property

reports

table

table-filter

table-filter-and-charts

table-filter-charts-spreadsheets