youngmon/atlassian-qna huggingface dataset:
Sourcetree says .NET isn't installed but it is
Asked by Rick Nolte:

Starting sourcetree in Windows 10 VS2017 pro. Using the most recent insider version of windows. When I launch it, window comes up that says it needs .NET v4.7.1. When click to install .NET now, the installer for .NET downloads and runs, but says .NET is already installed


Answers:
author: Nick Johnson
body: The fix is here:  
<https://withinrafael.com/2018/09/11/napkin-note/>

Just add the missing registry key, Sourcetree works. Thanks for pointing me in the right direction.

comments: author: Rick Nolte
body: Thank you!


author: Nick Johnson
body: I have the same issue. Sourcetree worked fine yesterday. Windows updates ran last night, and this morning I can't run Sourcetree. It updated to Windows 10 v1809.

Framework release 461814 is 4.7.2, but version in registry shows 4.7.03190.

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

comments: author: minnsey
body: Can you try running %localappdata%\\Sourcetree\\app-2.6.10\\sourcetree.exe?  

Switch **app-2.6.10** for whatever the relevant version is you have installed.  

It looks like it is the installer/update technology Squirrel.Windows that is failing. I'm interested to know if the underlying app will still run.


author: minnsey
body: FWIW I think **4.7.1, 4.7.2** etc are essentially *named* releases and really equate to some **4.7.0####** version under the cover.


author: Nick Johnson
body: Unfortunately, I get the same error when running it from that location.


author: minnsey
body: That is disappointing. This might be a significant problem.


author: Rick Nolte
body: I installed the latest insider build today and the problem still exists. When the actual update comes out next month, this will be a show stopper. For now, I'll just go back to the previous build.


author: minnsey
body: Hi  

We're investigating this at the moment.  

Can any one provide a copy of the SquirrelSetup.log, I believe it should be in %localappdata%\\Sourcetree for GA builds or %localappdata%\\SourcetreeBeta for Beta builds.  

Thanks


author: Rick Nolte
body: Any updates on this?


author: minnsey
body: At the moment it looks like an issue in the Windows Insider Builds  

<https://github.com/Squirrel/Squirrel.Windows/pull/1306>  

<https://twitter.com/WithinRafael/status/1039382206051901440>


author: minnsey
body: Windows 10 doesn't always seem to recognize the .NET update until after a reboot.

comments: author: Rick Nolte
body: I rebooted


author: Rick Nolte
body: Still have the problem.


author: minnsey
body: Looking here: <https://github.com/Squirrel/Squirrel.Windows/blob/250fe4ce09035a682d90836f8c89097760638f66/src/Setup/FxHelper.cpp>  

The installer checks the following registry key   

Computer\\HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\NET Framework Setup\\NDP\\v4\\Full  

And then checks the *Release* number is not less than the required value, in this case   
461308 for .NET 4.7.1
Authentication Window Issue
Asked by RyanAaronGreen:

I'm trying to add a new account to BitBucket via OAuth and I'm running into a strange issue where instead of connecting my account, I'm just being signed in. When it does this, I'm never actually able to complete the setup of the account.   

Any input on how I can fix this issue?   

![Screen Shot 2018-09-05 at 11.34.46 AM.png](/t5/image/serverpage/image-id/31485i346CC56FF6D5CAE1/image-dimensions/473x434?v=v2 "Screen Shot 2018-09-05 at 11.34.46 AM.png")![Screen Shot 2018-09-05 at 11.35.02 AM.png](/t5/image/serverpage/image-id/31484iDA8F67DA2CA8D717/image-dimensions/473x436?v=v2 "Screen Shot 2018-09-05 at 11.35.02 AM.png")

![Screen Shot 2018-09-05 at 11.35.05 AM.jpg](/t5/image/serverpage/image-id/31487i7B27E57420E1A93B/image-size/large?v=v2&px=999 "Screen Shot 2018-09-05 at 11.35.05 AM.jpg")


Answers:
author: Manju
body: We have fixed this issue and is available to try on the latest public beta available for [download here](https://product-downloads.atlassian.com/software/sourcetree/beta/Sourcetree_3.0b5_196.zip?_ga=2.33948321.1864480005.1536590711-1178943601.1520311947).


Tags: authentication

bitbucket

oauth
Too many invalid password attempts error when trying to push my commits
Asked by joshmoto:

I am getting this error (see image below)

My git repos are created using bitbucket and I always use source tree.

I logged into [id.atlassian.com](https://id.atlassian.com/?_ga=2.138249712.116615086.1536081591-371213739.1536081591) fine, I've not even tried to log in so I don't understand why I am getting **Too many invalid password attempts.**

The last few days I have been committing and pushing fine.

Its infuriating. Any help would be amazing as I'm not sure what to do now, I have 3 commits waiting to be pushed.

![Screen Shot 2018-09-04 at 18.52.48.png](/t5/image/serverpage/image-id/31331iE83E7452534357E9/image-size/large?v=v2&px=999 "Screen Shot 2018-09-04 at 18.52.48.png")


Answers:
author: joshmoto
body: Fixed this by setting up and using SSH instead.


Tags: error

push
SourceTree has stopped working.
Asked by MosesMj1997:

Here is my details about the error:

Problem signature:  
Problem Event Name: APPCRASH  
Application Name: SourceTree.exe  
Application Version: 2.6.10.0  
Application Timestamp: 5b3cd3af  
Fault Module Name: KERNELBASE.dll  
Fault Module Version: 6.1.7600.16385  
Fault Module Timestamp: 4a5bdaae  
Exception Code: c06d007e  
Exception Offset: 00009617  
OS Version: 6.1.7600.2.3.0.256.1  
Locale ID: 1033  
Additional Information 1: 0a9e  
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789  
Additional Information 3: 0a9e  
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789


Answers:
author: bgannin
body: Bug reports should be filed at <https://jira.atlassian.com/browse/SRCTREEWIN/>

comments: author: bgannin
body: Details about the crash - steps, context, etc. are appreciated.
[Solved]GitFlow "Finish Feature" fails using SourceTree
Asked by ChrMue:

I'm using Sourcetree 2.6.10 on Windows 10.

It is possible to start a "New Feature".  
But If I finish a feature I get the Message

```
sh.exe "C:\Program Files\Git\usr\bin\git-flow" feature finish Produktionsformular
fatal: HttpRequestException encountered.
?? Fehler beim Senden der Anforderung.
```

Push and Pull give the same message but it works. The commits are completely transferred to BitBucket.  


Answers:
author: minnsey
body: My initial assumption is that you've upgraded to a broken version of the Git Credential Manager.  

Can you check what version of Git you are using, you can see this in the Tools/Options/Authentication tab, and the version of the Git Credential Manager you are using, you can do this in the Terminal by running:  

\>git credential-manager version  

Also can you, in the Terminal, set the following environment variable  

GCM_TRACE=1  

And then run a git pull or push?  

This will produce logging for the Git Credential Manager.  

Version 1.17.1 has fixes for Bitbucket authentication and can be downloaded from here <https://github.com/Microsoft/Git-Credential-Manager-for-Windows/releases/tag/v1.17.1>

comments: author: minnsey
body: I've done some more testing. I can reproduce this behaviour if I'm using a Git install that includes a broken Git Credential Manager for Windows (GCMW), essentially v1.16.1 and v1.16.2.  

Sourcetree can detect the broken versions of Git Credential Manager and force the use of a working copy, v1.17.1, using the following parameters with Git calls  

```
-c credential.helper= -c credential.helper="C:/Users/mminns/AppData/Local/ATLASS~1/SOURCE~1/GIT_EX~1/GIT-CR~1.EXE"
```

<br />

However it can't pass this through the git-flow *sh.exe* commands this will call Git without the overrides and uses the broken Git Credential Manager which fails to authenticate.

Until the fixed version of Git Credential Manager is shipped with a new Git for Windows release which is bundled with a new Sourcetree release please use the following work around.  

**Work Around**

* Install a standard copy of Git 2.18 from <https://gitforwindows.org/>
* Install Git Credential Manager for Windows 1.17.1 <https://github.com/Microsoft/Git-Credential-Manager-for-Windows/releases/tag/v1.17.1>
* Switch Sourcetree to use the installed Git 2.18/GCMW 1.17.1 in the *Tools/Options/Git* tab and click the *Git version/System* button


author: ChrMue
body: Thank you very much, the work arround fixes the problem.


author: bs-thomas
body: [@minnsey](/t5/user/viewprofilepage/user-id/502201) Thanks, your workaround seems to fix many HttpException issues. Most exceptions seemed to have gone away already.

However, finish feature will still cause the exception even with the GCM 1.18.2 and Git 2.19.1. So it will just halt, and at last I'll have to merge it manually.

My SourceTree is already using the System Git (the stuff I installed above).

Could this be something related to the GitFlow implementation or their bug?
Unable to access any repo through sourcetree
Asked by Bram van den Boomen:

I have several repositories set up in sourcetree, which last week were still working, but since today I keep getting the following error on each of them when trying to pull/push anything:

fatal: HttpRequestException encountered.  
An error occurred while sending the request.

I have tried accessing the repositories via the bitbucket website, and there they work without any issues.


Answers:
author: Bram van den Boomen
body: Hi Michael,

I was using (embedded) credential manager 1.16.1, and after installing 1.17.1 and switching to the system installed git, the issue seems to have been resolved.

Thanks :)

comments: author: minnsey
body: Glad you are back up and running.


author: minnsey
body: My initial assumption is that you've upgraded to a broken version of the Git Credential Manager.  

Can you check what version of Git you are using, you can see this in the Tools/Options/Authentication tab, and the version of the Git Credential Manager you are using, you can do this in the Terminal by running:  

\>git credential-manager version  

Also can you, in the Terminal, set the following environment variable  

GCM_TRACE=1  

And then run a git pull or push?  

This will produce logging for the Git Credential Manager.  

Version 1.17.1 has fixes for Bitbucket authentication and can be downloaded from here <https://github.com/Microsoft/Git-Credential-Manager-for-Windows/releases/tag/v1.17.1>
How do you restore a closed branch in mercurial using sourcetree?
Asked by maphew:

How do you restore a closed branch in mercurial using sourcetree?

I used the right-click context menu in the left-hand side panel to close a branch. Unfortunately I had the wrong branch selected. How do I undo this?


Answers:
author: bgannin
body: There isn't a GUI available for doing so but [the notes in this post](https://stackoverflow.com/questions/4099345/is-it-possible-to-reopen-a-closed-branch-in-mercurial) might help.


Tags: bitbucket
I don't know why the window of Sourcetree doesn't see =(
Asked by Yasbet Alvarez:

When I start the program happen this:

![evidence1.jpg](/t5/image/serverpage/image-id/31191iB66032694E21B9D8/image-size/large?v=v2&px=999 "evidence1.jpg")![evidence2.jpg](/t5/image/serverpage/image-id/31192iBE4BE92F9E0B451E/image-size/large?v=v2&px=999 "evidence2.jpg")

![evidence1.jpg](/t5/image/serverpage/image-id/31191iB66032694E21B9D8/image-size/large?v=v2&px=999 "evidence1.jpg")


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

We've seen some users with a similar, have you tried the solutions provided in this [Community thread](https://community.atlassian.com/t5/Sourcetree-questions/Sourcetree-transparent-windows-in-Windows-10-Pro/qaq-p/813337) already?

Let us know if this helps you!

Kind regards,

Ana

PS: That's a very cute wallpaper!

comments: author: Yasbet Alvarez
body: I try to delete file at the folder called "appdata", and add a property to file user.config with this:

\<setting name="AutomaticallyCleanUpDictionaryFiles" serializeAs="String"\>  
\<value\>True\</value\>  
\</setting\>

But nothing happened, I don?t know what I?ll do. Help me please!


author: Ana Retamal
body: Hi Yasbet! Have you already tried disabling hardware acceleration for all WPF, this has solved the issue for other users. Seems like there are some issues with the video drivers. Set the following registry key to a **DWORD** of **1**:

    HKEY_CURRENT_USER\SOFTWARE\Microsoft\Avalon.Graphics\DisableHWAcceleration

In, addition have you tried the following:

* Make sure your video drivers are up-to-date
* Try running Sourcetree in compatibility mode
* Try running Sourcetree with overridden high DPI settings

Let us know!

Ana


Tags: transparent

windows
Sourcetree doesn't update files
Asked by Taher Hekmatfar:

I use Sourcetree 1.7.0 for android project. I changed the project package name. Sourcetree staged all files with this change. Before committing the changes, I decided to change back the package name, so I set the old package name again. However this time Sourcetree didn't detect the changes. It still shows the new package name.

The files are too many so I can't unstage manually. Also I changed some files and I need to commit them, so I can't ignore the changes and clone repository again.

The auto refresh is enabled.

How can I force sourcetree to refresh again.

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/31084i2DB7F7ED8574920B/image-size/large?v=v2&px=999 "image.png")


Answers:
author: bgannin
body: Hi Taher,

There should be a menu item for "Refresh" that does so manually. That said, 1.7.0 is no longer a supported version and we recommend using a newer release.

Cheers,

Brian Ganninger  
Product Manager, Sourcetree
Can't push because of Timed out
Asked by JyuAra:

Hi, I got this error when pushing my project to bitbucket. I have used sourcetree for months this problem occured recently for a week.

"fatal: unable to access  
Failed to connect to bitbucket.org port 443: Timed out"

Is there something wrong with the server or some network setting in sourcetree should be done?

I tried ping bitbucket.org , timed out either but I can see my Repositories from website.  
Thanks.


Answers:
author: bgannin
body: There's nothing in particular that should be causing such a problem. Presumably all operations (pull, fetch, etc.) also fail with a timeout. My suspicion would be something in the network configuration - Bitbucket Cloud recently [changed IP addresses](https://bitbucket.org/blog/new-ip-addresses-bitbucket-cloud) so DNS resolvers or firewalls may no longer be amenable.


Tags: bitbucket
Sourcetree show more changes than I made
Asked by connect2online:

Can someone please tell me why is sourcetree showing me more changes than I made to my file? I saw a response to an earlier question way back in 2015. I can't really believe this is the problem. The questions I have ...are these real changes that will be written to my repo in bitbucket? and since I can't find any recent comments does that mean I should not be using sourcetree? I have the latest verison of sourcetree for windows.

-Michael


Answers:
author: bgannin
body: We need more details to diagnose the problem...

1. What type of repository (Git or Mercurial)?

2. What do you mean by "more changes"?

3. What does (Git or Mercurial) show when you use their CLI?

comments: author: connect2online
body: I am using git. I will make a change in one line yet I am see where a lot of lines are deleted and re-added. If I don't use sourcetree and only the git cli I am fine. Once I use sourcetree the git cli also show these changes. The behavior is similar to that reported in this link: <https://community.atlassian.com/t5/Sourcetree-questions/Sourcetree-showing-entire-file-diffs-instead-of-just-the-changed/qaq-p/6648>


Tags: bitbucket-pipelines
Catch 22: Push before pulling, pull before pushing
Asked by Steven Taschereau:

I tried to commit a file in SourceTree not knowing one of my colleagues had recently committed an update to the same file (and others). So now I've got an incomplete Push and an incomplete Pull. When I try to do the Push I get:

error: failed to push some refs to '<https://bitbucket.org/eClinical/analytics-3.0/src/master/>'  
hint: Updates were rejected because the tip of your current branch is behind  
hint: its remote counterpart. Integrate the remote changes (e.g.  
hint: 'git pull ...') before pushing again.

When I try to do the Pull I get:

error: You have not concluded your merge (MERGE_HEAD exists).  
hint: Please, commit your changes before merging.  
fatal: Exiting because of unfinished merge.

I don't care if my changes get crushed because my colleague basically made the same change. I just want to get my environment working "normally" again.

Thanks

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


Answers:
author: Mike Corsaro
body: Hello! Any of the following will work:

* Hit the "Terminal" button and type: *git reset --merge*
* Switch to another branch, then delete 'master' (hit the "force delete"), then checkout master again under remotes
* Or, under the "yourproject/.git" folder, delete the MERGE_HEAD file
Bitbucket login popup
Asked by GofurN:

I logged SourceTree using Atlassian account and the added Bitbucket account. Everything going well but after a few days Bitbuckit login popup is appearing suddenly about every hour? What is the problem?


Answers:
author: bgannin
body: Hi Gofur,

Please check out my reply in [this thread](https://community.atlassian.com/t5/Sourcetree-questions/Save-correct-Bitbucket-password-in-Mac-Keychain/qaq-p/877963#U880726).

Cheers,

Brian Ganninger  
Senior Mac Developer, Sourcetree
Single account can't access BitBucket using Sourcetree
Asked by Tim Van Emden:

I created a BitBucket Repo for my team to send code and update for each other. 2 out of 3 members are able to access the code fine, clone and push as needed. However my senior SW engineer is unable to clone the repository. He has been granted admin privileges as both a group and solo user on the repository, Sourcetree recognizes his login, it just doesn't recognize the URL path as correct. I've updated both Git and mercurial and still nothing. Can anyone advise?


Answers:
author: Tim Van Emden
body: ![danny sourcetree issue.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/31055i669F60F01F95852C/image-size/large?v=v2&px=999 "danny sourcetree issue.jpg")


author: bgannin
body: What do you mean by "recognize the URL path as correct"?
Blog Posts Macro - Can I add Image?
Asked by Melisa Singh:

Hi. I have a section in each space for "Blog Posts" where it pulls in blog posts from that space. It looks like I only have option to have description, excerpt or full page.

There is no option to show image with copy.

The excerpt option is closest to content length I'd want but looks super boring with no image. Can I somehow have it populate a card that shows the image from the blog post?

How it displays with Excerpt:

![Screenshot 2024-02-01 at 2.25.03?PM.png](/t5/image/serverpage/image-id/303859i928DEA93625FDB46/image-size/large?v=v2&px=999 "Screenshot 2024-02-01 at 2.25.03?PM.png")

How the blog actually looks with header image (which would be nice to include in excerpt):

![Screenshot 2024-02-01 at 2.28.12?PM.png](/t5/image/serverpage/image-id/303860i8E4FD10ABC3FC9CA/image-size/large?v=v2&px=999 "Screenshot 2024-02-01 at 2.28.12?PM.png")

My apologies in advance but I'm not tech savvy at all and know nothing about CSS or code so if that's involved please explain it like I'm a child (for real).

Many thanks!


Answers:
author: Farah Idayu Othman
body: Hi [@Melisa Singh](/t5/user/viewprofilepage/user-id/5365465) ,

Welcome to the Atlassian Community.

To view the image in the Excerpt, you need to add the image in the Excerpt as the following:

![2024-02-02_12-08-10.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/303934iB1B5835EEC305F1C/image-size/large?v=v2&px=999 "2024-02-02_12-08-10.jpg")

After it has been added, it will be shown in the Blog Post macro as below:

![2024-02-02_11-52-26.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/303935i07C894F43631E5D0/image-size/large?v=v2&px=999 "2024-02-02_11-52-26.jpg")

As for the header image, it would not be rendered if it is not added in the Excerpt macro.

Kindly let us know if you have any further questions.

Thank you.

Warm regards,  
Farah

comments: author: Emily Bullough
body: I'm pretty sure you're talking about the Excerpt macro, while the original poster is talking about the Blog Posts macro. The Blog Posts macro allows you to create a string of recent blog posts within the page, included an excerpt of the first few sentences from the blog post. I'm using the Blog Posts macro, and don't see the options you're describing for adding an image to the blog excerpt.


Tags: blog

cloud

confluence-cloud
Blog Post Macro Troubleshooting
Asked by Raelee Busk:

I've edited every option in the blog post macro and I'm still unable to get it to pull anything more recent that that last 90 days. I've tried hours, weeks, days, months, but the only timing filter I can use and get something returned is by entering "90days" but that captures blogs from last November and nothing else. I am using it incorrectly?


Answers:
author: Dan Breyen
body: Hi [@Raelee Busk](/t5/user/viewprofilepage/user-id/5420328) welcome to the community. On my confluence instance, I'm not able to recreate this issue. I see posts going back several years. I have the Timeframe left blank and I have blogs showing up for the last 9 years. If I filter it by days, it is working as expected.

I used 90d to only get the previous 90 days, and it worked as well. Are you using any other parameters? Are you identifying the space? Is it browser dependent, user dependent, or anything else like that? I guess I would try to change the criteria around and see if it works any better.

If that doesn't help, you could open a ticket with [Support](https://support.atlassian.com/contact/#/) and get their input.

comments: author: Raelee Busk
body: Thank you so much for answering! I did check each of the filter options and had the same results of getting old blogs, just the new blogs were missing.

However, it seems to be pulling in now after some time of letting it sit. I'm still not sure what was causing it, but it seems to be fine now. I've had our Admin check it out and we're seeing if I had done something with the setup.


Tags: cloud

confluence-cloud
How to get actual IP address instead of Egress or Public IP for the client in my confluence plugin?
Asked by Karan Sehgal:

We are trying to implement IP based access in one of the custom plugins that we developed. The issue is that since confluence is hosted on Azure, it only gets to see the public IP of the company network instead of the actual client IP.

I was wondering if there is a way to retrieve the actual client IP from the request object in confluence that can be accessed by custom plugin? Or if there is any approach that can be followed to retrieve this info from within confluence.

All I need is to pass this information to the custom plugin that can perform the access verification based on client IP. Any example will be of great help.


Answers:
author: Nic Brough -Adaptavist-
body: Welcome to the Atlassian Community!

There is not usually any way to do this, the request will not contain the originating IP address, and it's often useless data anyway.

There are three reasons -

* Most clients are sitting behind Network Address Translation systems (NAT makes it look like they are all on the same IP address, hence the public IP of the company)
* Most clients are likely to have got their address from DHCP, which means the address can change
* Client IPs are not unique. I can guarantee you that there are hundreds of thousands of devices with an IP of 192.144.1.86 like mine.


Tags: address

confluence-server

server