youngmon/atlassian-qna huggingface dataset:
Are Azure Devops triggers from Bitbucket are broken ?
Asked by Jason Stanley:

Builds in Azure Dev Ops are not being triggered as expected. We have had no issues for the past few months.

I can manually trigger pipelines but the automatic trigger isn't firing. I debugged the repo and can see webhooks are being dispatched to ADO.

We are not noticing issues with GitHub-integrated projects. Is anyone experiencing this? Any ideas on how to debug further?


Answers:
author: Theodora Boudale
body: Hi Jason and welcome to the community!

I haven't seen any issues reported during the last few days. Have you enabled history for some of these webhooks, and if so, do you see an event and a 200 status code when an event that triggers the webhook occurs?

See more details here: <https://confluence.atlassian.com/bbkb/troubleshoot-webhooks-1167729092.html>

If there is an event and a 200 status code, I would suggest reaching out to Azure Dev Ops support team and asking if there are any logs that show what happens with these requests after they are received and why the pipelines do not get triggered.

Kind regards,  
Theodora


author: Jason Stanley
body: Thanks, the issue resolved itself after about 12 hours. Must have been something on the Azure end. Thanks.


Tags: bitbucket-cloud

cloud
External diff broken in sourcetree 2.7.6-177 (Mac)
Asked by R C:

External diff seems broken in sourcetree 2.7.6-177 (Mac) - when I try to external-diff nothing seems to happen, and I have had the same issue with 2.7.5; if - on the other hand - I replace 2.7.6-177 with 2.7.3-169 then it works; to me this indicates it is something with the 2.7.6 release rather than my configuration.

Is this something Atlassian sourcetree dev team is aware of ?

p.s. the external diff I use is Beyond Compare 4.


Answers:
author: Manju
body: No, we do not have any reports of this. Can you please file a ticket on <http://jira.atlassian.com/projects/SRCTREE> ?

Thanks!

comments: author: R C
body: thank you: <https://jira.atlassian.com/browse/SRCTREE-5888>


Tags: external-diff
Cloning bitbucket repo
Asked by benjaminwalsh:

Hi there,

I login to bitbucket with google oauth. When using Source tree I'm trying to clone the existing repo to my local machine to edit.

I enter my repo

<https://bitbucket.org/benjaminwalsh/shoppr>

and it automatically fills out the local directory

\\\\PD-SVR17\\Users\\benw\\My Documents\\shoppr

and name

shoppr

But when I get the login prompt 'bitbucket login' Atlassian log in to your account... I cant use my credentials.

I've verified that my user name and password for Atlassian are correct here: <https://id.atlassian.com/manage>

There's no feedback as to why it wont log me in I just get stuck in a loop.

can you help please?


Answers:
author: Manju
body: You can add the Bitbucket account in Sourcetree and we will use that to clone. Please give that a try.
Flaw: "Access denied" timeout very long
Asked by Daniel H?nig:

I triggered a pull command and wondered why it took so long.

Checking "Shows Full Output" revealed a stream of "Access denied" messages (see screenshot).

Only after many seconds (\>60?) it would eventually stop with an error message.

Expectation is that Sourcetree retries only for a few times, if at all, but not that often (or that long). So reduce timeout and/or retry count.

![SourcetreeFlaw.PNG](/t5/image/serverpage/image-id/27082i22C8EBBED888EB34/image-size/large?v=v2&px=999 "SourcetreeFlaw.PNG")


Answers:
author: minnsey
body: Hi  

That dialog shows the output of the git command itself.  

Under certain circumstances Sourcetree will repeat the same command 3 times if necessary, but this is usually due to authentication issues to allow the user to enter new credentials and re-run the command, its *probably* not what is happening this time.  

Do you get the same behaviour running the git command from the terminal?

comments: author: Daniel H?nig
body: No, when I open the Terminal from within SourceTree and paste the copied command line, it's asking for my password.


author: minnsey
body: Thanks for the update.  

It seems likely its due to the authentication prompt, but we will investigate.
Sourcetree external diff changed (for the worse)
Asked by mattneub:

It used to be that when I did an external diff (using BBEdit), the local file was actually used as one side of the comparison, so I could edit right there in the external diff application (BBEdit).

Now, unfortunately, both sides are temporary copies in /private/var/folders. I regard this as a bug, because it removes an important piece of functionality. Or is there a secret setting for returning to the old behavior?


Answers:
author: Manju
body: AFAIK, this is not something managed or controlled by Sourcetree. Sourcetree hands off the control to the external diff tool by executing the designated command. However, I will try to find out if we can do something about it. It would be helpful if you can kindly file a ticket on <http://jira.atlassian.com/projects/SRCTREE/>

Thanks!

comments: author: mattneub
body: I think I can say a bit more about this! It looks to me like the problem arises only when I do an external diff right after committing, so that there is nothing in the index. The current file is then represented by a copy in /private/var/folders.

The workaround is then to insert some trivial change into the file and do an external diff between the uncommitted changes entry and some past commit. Now the current file is represented by itself in the external diff.

What I'm saying, then, is that the original file (if that's what I'm comparing to) should _always_ be represented by itself, so that I can edit it in the external diff application (BBEdit) as I'm looking at the diff.
Cannot Push/Pull after upgrading to Mac OS High Sierra
Asked by Mike Manusama:

I was able to push/pull fine until I upgraded my OS to High SIerra. Now that I have done that I am getting the following error:  

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

git@bitbucket.org: Permission denied (publickey).

fatal: Could not read from remote repository.

Please make sure you have the correct access rights

and the repository exists.

git@bitbucket.org: Permission denied (publickey).

fatal: Could not read from remote repository.

Please make sure you have the correct access rights

and the repository exists.

git@bitbucket.org: Permission denied (publickey).

fatal: Could not read from remote repository.

Please make sure you have the correct access rights

and the repository exists.

git@bitbucket.org: Permission denied (publickey).

fatal: Could not read from remote repository.

Please make sure you have the correct access rights

and the repository exists.

Completed with errors, see above

The SSH Key is the same on both Bitbucket and my Sourcetree, and I have used 2 factor authentication on Bitbucket. I am still seeing this error though and cannot commit. Has anybody had these issues since upgrading to High Sierra? FYI I am on Sourcetree 2.7.6


Answers:
author: Manju
body: Please check if the ssh-agent has your keys loaded. If not, please add them to the agent.

Run below commands in terminal to do so,

To check if keys are loaded:

```
ssh-add -l
```

To add keys to agent:

```
ssh-add <path_to_key>
```

more like,

```
ssh-add ~/.ssh/id_rsa
```

Key in the passphrase used while generating the ssh key and you should be good to go.
Unable to login
Asked by Rahul Singh:

Unable to login with the atlassian account in sourecetree app. It says "SOmething went wrong while attempting to validate your details"


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

Can you give us some more context so we can help you solve this issue?:

1. Are you using Sourcetree for Windows or Mac?
   1. If you're on Windows, can you confirm Internet Explorer is up-to-date (Sourcetree relies on it for authentication)?
2. In which step are you stuck? Is it the initial registration?
3. Have you tried logging in through the browser via [id.atlassian.com](https://id.atlassian.com/)?
4. Can you send us a screenshot so we can see where you are and the message you get?

Best regards!

Ana


Tags: atlassian-support
Sourcetree "add account" just brings me to my bitbucket page without saving account data
Asked by Jake Z:

So when I try to add my bitbucket account to sourcetree, I take the following steps. First, I click "connect account" here:

![bitbuckethelp1.png](/t5/image/serverpage/image-id/26808i5B674FFB3A605CE6/image-dimensions/374x247?v=v2 "bitbuckethelp1.png")

Then it brings me to this page, where I enter my account info:

![bitbuckethelp2.png](/t5/image/serverpage/image-id/26809i964665ECBD2508F5/image-dimensions/290x265?v=v2 "bitbuckethelp2.png")

Which then brings me here, which is just a simulated web browser of the bitbucket website where I can't do anything except for navigate around the site. The only way to escape this is to hit cancel, where it brings me back to the first image without saving my account data.

![bitbuckethelp3.png](/t5/image/serverpage/image-id/26810iC779200F2E4C74F0/image-dimensions/315x288?v=v2 "bitbuckethelp3.png")

What am I doing wrong here? Has anyone else ran into this issue? How can I fix this?


Answers:
author: garrybikmo
body: Any updates on this? I've just downloaded a fresh version of sourcetree and getting this issue.


author: bgannin
body: You're not doing anything wrong, that's an unexpected behavior. We'll follow up on our end to see what's going on. Thanks for your report and patience.

Brian Ganninger  
Senior Mac Developer, Sourcetree


author: jlevs44
body: Are there any updates on this? Still can't save my account details.


Tags: account

bitbucket
Incorrect Git-Flow Warning?
Asked by Luke Burnham:

I'm using Sourcetree 2.6.10 for Windows. When I launch the application I get a warning telling me that Git-flow is not supported and that I should upgrade to Git 2.17.1.2.

Under Tools/Options/Git the application shows that I'm using **Embedded Git version 2.17.1/LibGit2Sharp 0.24.0 + git-lfs v2.4.2** so I don't understand why I'm getting the warning.

Is there something more that I need to do?


Answers:
author: Kostiantyn Usenko
body: Hi

can you try the latest version (3.3.0+)?

We've fixed GitFlow version gathering routine.

comments: author: Guillaume H?bert
body: Where is 3.3.0+ available? The latest version on sourcetreeapp.com is still 3.2.6.


author: tom_kloc
body: My opinion is the warning is invalid. I installed 2.18.0 of GIT and it states that in SourceTree and I still get the error.


author: minnsey
body: Hi  

It is possible that this is a bug.  

Sourcetree used to bundle its own copy of git-flow, we recently changed that to rely on the version that is now bundled with Git for Windows. As part of that there are 2 types of notification:

* Sourcetree **can't** find git-flow
  * (implying the Git install is an old version that doesn't include git-flow)
* Sourcetree **can** find git-flow but it is too old
  * (implying the Git install does bundle git-flow but it is an old copy)

If the git-flow button and actions are working then this is just an issue with the notifications.  

Can you confirm the exact notification message?  

Thanks

comments: author: Luke Burnham
body: Well, of course it's not showing the notification now! I seem to recall that the notification comes and goes but can't be sure.


author: Luke Burnham
body: The Notification/warning is back again today. The exact message text:

Git-flow

Git-flow not supported

You'll need to upgrade to Git 2.6.4 or later.

We recommend upgrading to Git 2.17.1.2.

Learn more


author: minnsey
body: Thanks for confirming, we will review its operation


Tags: git

windows
Sourcetree for Mac requires registration
Asked by System Admins:

When first opening Sourcetree, you have the option of connecting to BitBucket Server or BitBucket Cloud. This is an option that appears in the first setup screens on the PC version.  

On the Mac version, however, a prompt screen insists on connecting to MyAtlassian with a login. This is problematic since we intend to grant Sourcetree to our users to connect to our BitBucket Server. There is no way around the prompt, and exiting the prompt exits Sourcetree altogether on the Mac.  

Do we have to license Sourcetree for all users? Or is there a way to disable the prompt? Again, this just happens for the Mac version, not for the PC version -- the PC version allows you (after accepting the Terms) to connect to BitBucket Server.

![Screen Shot 2018-07-12 at 11.44.38 AM.png](/t5/image/serverpage/image-id/26801i7FE55D55DC4982B2/image-size/large?v=v2&px=999 "Screen Shot 2018-07-12 at 11.44.38 AM.png")


Answers:
author: Manju
body: Registration using Bitbucket server accounts is coming to Sourcetree on macOS shortly. Please sign up for the [beta program](https://groups.google.com/d/forum/atlassian-sourcetree-beta#) to get an early access build in the next few weeks.

comments: author: System Admins
body: Thanks! Is there a different way to sign up than the Google Groups link?


author: Manju
body: It is a google group and that is the link for now. If you have trouble signing up, please let us know.


Tags: bitbucket

bitbucket-server

server
Repository access denied
Asked by Raghvendra Singh:

Here bitbucket account open through its access detail , but when we use same detail its not working in Source Tree. even repository is also not show.

Please help me.


Answers:
author: Manju
body: Can you please confirm the version of Sourcetree and the OS on your machine? Please provide any error messages, screenshots, account config so that we can help you better.

Thanks!
SourceTreeEnterprise
Asked by itsupportbdl:

Bonjour,

Est-ce que les versions SourceTreeEnterprise suivent les versions de SourceTree ?

Cordialement


Answers:
author: Ana Retamal
body: Hi! First of all, please note that the Atlassian Community is an English site, so we'll do our best to help you in English :)

Sourcetree Enterprise is the MSI installer, to use it you need to have Sourcetree 2.5 or later, which you can get from our [Download archives](https://www.sourcetreeapp.com/download-archives).

For more information, you can read [Sourcetree Enterprise and MSI installation](https://confluence.atlassian.com/sourcetreekb/sourcetree-enterprise-and-msi-installation-947848769.html).

Hope that helps!

Ana

comments: author: itsupportbdl
body: Hello,

Thanks for your reply.

I would like to know if SourceTreeEnterprise follow update like SourceTree.

Because, when I installed SourceTree 2.6.9, I had an update and with SourceTreeEnterprise, no update.

Regards.


Tags: sourcetree-enterprise
Refresh never work
Asked by TY Sun:

Dear all,

I found Auto-refreshing when the file changed never work, badly manually refreshing also does not work? Does anyone have ideas?

Version is 2.6.10.0, operation system is windows 10.

I also found in 1.7 it does work.


Answers:
author: TY Sun
body: * Modify a file and then switch back to Sourcetree
  * I modified 2 files and added 2 files, it seems that it detected something, but cannot give the details, and the files added cannot be detected.
  * the screenshot:
  * ![1.png](https://community.atlassian.com/t5/image/serverpage/image-id/26843i0940200D1D9A242D/image-size/large?v=v2&px=999 "1.png")
  * after restart sourcetree, this should be right:
  * ![2.png](https://community.atlassian.com/t5/image/serverpage/image-id/26844iCA48190BBAD5B0CC/image-size/large?v=v2&px=999 "2.png")
* Open the Process Viewer (Tools \> Process Viewer)
  * it is blank
* Manually refresh your repo by hitting 'F5' or by going to "View \> Refresh"
  * no use
* In the Process Viewer window, select the log row that has the label "GetFileStatus" under the "Caller Context" column
  * the process viewer is blank.
* Click the "View Process Output..." button after selecting that row
  * as above
* Post a screenshot of just that output window -- which will list the command Git used, and the results of the command
  * as above

comments: author: TY Sun
body: The auto-refreshing works in an opened repo, but never work at the "New tab" view.

In 1.7 it works although the repo is closed.


author: Mike Corsaro
body: Hello! Could you please do the following for me?

* Modify a file and then switch back to Sourcetree
* Open the Process Viewer (Tools \> Process Viewer)
* Manually refresh your repo by hitting 'F5' or by going to "View \> Refresh"
* In the Process Viewer window, select the log row that has the label "GetFileStatus" under the "Caller Context" column
* Click the "View Process Output..." button after selecting that row
* Post a screenshot of just that output window -- which will list the command Git used, and the results of the command

Thanks!

comments: author: TY Sun
body: The auto-refreshing works in an opened repo, but never work at the "New tab" view.

In 1.7 it works although the repo is closed.

Please see my "answer" below to get the details, sorry to post is at a wrong position.


Tags: windows
Unable to create Atlassian account to install Sourcetree
Asked by EzraSidran:

I'm trying to install Sourcetree on a Windows 7 32 bit machine.

I have tried to register via Bitbucket (no luck). I have tried to register via Atlassian account: Create New Account.

This is the error that I receive:

![Sourctree.jpg](/t5/image/serverpage/image-id/26582i538F2E9D6C3BB8B2/image-size/large?v=v2&px=999 "Sourctree.jpg")

This is with Google Chrome. It also happens with Firefox. I've been trying to install Sourcetree all day to collaborate with my partner in the UK using Bitbucket.

What is going on? How do I solve this problem?


Answers:
author: Ana Retamal
body: Hi! Looks like you already have an Atlassian account (you're using it to submit this Community post) so I assume your issue is with using that Atlassian account to register Sourcetree, is this correct?

Sourcetree relies on Internet Explorer for the authentication process, so please make sure your IE is up-to-date.

Keep in mind that the 2 authentication options provided during the installation are Atlassian account (which uses the same credentials as your Bitbucket Cloud account) and Bitbucket Server account (if you don't use Bitbucket Server, you won't be able to register using this method).

If you'd like to create a different Atlassian account, make sure you're using one of the [supported versions](https://confluence.atlassian.com/cloud/supported-browsers-744721663.html).

Let us know if you need further assistance!

Best regards,

Ana

comments: author: EzraSidran
body: Nowhere did I see a statement that, "Sourcetree relies on Internet Explorer for the authentication process," I'm astounded. Google Chrome and Firefox don't work and you should have put this in large bold type at the top.

I ended up installing GitKraken. Works fine.


Tags: windows
Unable to see new name of a stash renamed from command-line.
Asked by Philip Murphy:

Using the following method to rename a stash, <https://stackoverflow.com/a/35549615/640307>, the new name is not reflected in SourceTree - version 2.6.10.0

I've tried the following:

1) View - Refresh

2) Repository - Refresh Remote Status

3) Do a fetch all with prune

4) Remove and add back in repository to SourceTree

5) Stash some new changes and then remove them

Old stash name still persists.

Doing a "git stash list" I can see the new name from the command line.


Answers:
author: Mike Corsaro
body: Hello! Could you try disabling Libgit2 support under "Options \> Git" and see if that does anything? Thanks!

comments: author: Philip Murphy
body: Yes, did as you said and after restart the new name appeared :) Thanks


author: Philip Murphy
body: Notice that it refreshes the stashes when I refocus now (spinner beside STASHES item on sidebar - don't think this happened before, but might be mistaken). That's cool too, but just thought I'd let you know.


Tags: rename
I got the error 'Something went wrong while attempting to validate your credentials.
Asked by Abdul Rawoof:

Hi,

I am getting the error 'Something went wrong while attempting to validate your credentials.

Attaching the image file.

![atlassian.jpg](/t5/image/serverpage/image-id/26550iD0F1B54D2475BEEA/image-size/large?v=v2&px=999 "atlassian.jpg")


Answers:
author: Kirubel Tesfaye
body: Hi [@Abdul Rawoof](/t5/user/viewprofilepage/user-id/1618675),

If you are using windows try the following steps

1. Added \*.atlassian.com to Trusted sites (Internet Properties \> Security \> Trusted sites \> Sites)
2. Edited the security settings (Custom Level) for Trusted sites to:

* Enable Access data sources across domains (under Miscellaneous)
* Enable Allow META REFRESH (under Miscellaneous)
* Enable Active scripting (under Scripting)

Hope this helps!
SourceTree 2.7.6 (177) in my OSX always collapses 10.13.5
Asked by esekintela:

Hi

I can not work because ST always collapses not responding

Any idea please?

regards


Answers:
author: Ana Retamal
body: Hi Roberto, can you give us any more information to help us troubleshoot your issue?:

1. When did this started happening?
2. What do you mean when you say Sourcetree collapses? Does it freeze? Suddenly close?
3. Are you performing any specific operation when this occurs?
4. Have you checked the logs? They can be found by opening the Console application (`Applications >> Utilities >> Console`) and searching for entries related to "SourceTree".

Let us know!

Ana

comments: author: esekintela
body: Hi Ana

1.- Several months ago

2.- Suddenly stops working and stays in unresponsive state

3.- No. I do several commits and suddenly crash

4.- I don't see anything about SourceTree

Thanks


Tags: mac
How to reverse mouse scroll direction?
Asked by alexFrankfurt:

When I scroll through branch view, Log / History and so on SourceTree scrolls in the opposite direction compared to any other application. Is this intended behaviour? Can I change it? There's no setting in Tools / Options / General.


Answers:
author: alexFrankfurt
body: After update to 1903 scrolling is uniform with system scroll direction.

Note: same issue was present in window created by Out-GridView in powershell.


author: Mike Corsaro
body: Hello! Hmm... that's interesting. Do you have the system scroll direction reversed? There isn't anything really special about the log view -- do all the other scroll areas in Sourcetree scroll the opposite direction as well?

comments: author: alexFrankfurt
body: Hello Mike, thanks for responding!  
System scroll is set by default;  
<https://superuser.com/questions/310681/inverting-direction-of-mouse-scroll-wheel>  
FlipFlopWheel is set to 0 for my mouse.  
In SourceTree on main window in repo tab every area scrolls in reverse with exception for commit description area (contains commit hash, comment, etc.), which scrolls normally. In Options window every tab scrolls normally.


Tags: windows