youngmon/atlassian-qna huggingface dataset:
Sourcetree would like access to my photos
Asked by sjonkeesse:

Today I installed the newest version of SourceTree V3.2.1 (255). After about an hour, I was asked to authorise SourceTree to access my photos. Why is this?

![Screenshot 2019-09-02 at 17.11.41.png](/t5/image/serverpage/image-id/64971i07186E50622C9B4E/image-size/large?v=v2&px=999 "Screenshot 2019-09-02 at 17.11.41.png")


Answers:
author: Stephen Sifers
body: Hello Sjonkeesse,

Thanks for reaching out about Sourcetree on Mac prompting for access to your photos. This prompt is most likely due to how Sourcetree will store and access your account avatars and your repo Avatars. Within Sourcetree you will have accounts and each account will have an avatar associated with it. Along with each repo having an avatar as well. Your Mac will handle these are photos and store/access them on your Mac.

I hope this clarifies where this prompt is coming from.

Regards,  
Stephen Sifers

comments: author: sjonkeesse
body: Hi Stephen,  

Thank you for the answer. This will do ?

Best,

Robin
After upgrading SourceTree, the Push dialog no longer shows branch mappings
Asked by Robert Kerr:

After upgrading SourceTree by uninstalling the old version, installing the latest downloadable version, then accepting the auto-upgrade to v3.2.6, the push dialog box no longer shows remote branches for any repository. I've tried closing a repository and reopening it in SourceTree (by closing the tab, reopening the folder), which did not help. The git config still contains the correct configurations, as I can push from bash or from Visual Studio Code. How can SourceTree be made to display the branches in the push dialog box?

SourceTree v 3.2.6

![sourcetree-no-remote-branches.jpg](/t5/image/serverpage/image-id/65042i515EDBC3D9DD6398/image-size/large?v=v2&px=999 "sourcetree-no-remote-branches.jpg")


Answers:
author: Vincent Rozendaal
body: In my case it was caused by an older version of git (prior to 2.13.0) not understanding the --format option to git branch command. Upgrading to Git 2.23.0 solved the problem.

comments: author: Edward Stumpf
body: Thank you for posting this. Upgrading from my pre-2.13.0 version of Git solved this problem for me.


author: Viviane Garcia
body: Thank you! Upgrading Git solved the problem for me.


author: Vincent Rozendaal
body: I'm also experiencing the same problem. Using the command line for pushing for now.

comments: author: Robert Kerr
body: Not for me. I'm on git version 2.22.0.windows.1


author: Vincent Rozendaal
body: I can only suggest to follow Mike's instructions in <https://community.atlassian.com/t5/Sourcetree-questions/After-upgrading-to-Sourcetree-3-2-6-the-push-dialog-doesn-t-show/qaq-p/1172305> on how to find out what the output is of the git command used in the GetBranchesForPush entry in the Process Viewer of SourceTree. Hopefully that will give you a clue what is going wrong for you.


author: JeffH
body: I'm experiencing this same issue. For now I'm pushing from the cmd line. The push is properly reflected in the GUI when the repo is refreshed.


author: Viviane Garcia
body: Same problem here.
Are .vscode/* and .vscode/ indeed different or is it just Sourcetree not working right?
Asked by chlwovlf:

I'm not so familiar with CLI git so I use Atlassian's Sourcetree to manage my Git.

However, I've found out that Sourcetree doesn't recognize .gitignore's directory with tailing asterisk(\*).

i.e, .vscode/ is ignored while .vscode/\* is not ignored.

Items like .vscode/settings.json keep appearing in the unstaged area.

As far as I know, \* is a wildcard for any file/subdirectory in the directory so this should not happen.

My .gitignore extension creates all the items like /\* so now I have to manually change all that to / to avoid staging what I don't wanna commit.

I can't test out if this is a normal behavior in any Git applications or the native git itself because Sourcetree is the only Git management I know of. Is it something that would also happen in traditional CLI git?


Answers:
author: DPKJ
body: [@chlwovlf](/t5/user/viewprofilepage/user-id/3543967)git be default uses globbing patterns (<https://linux.die.net/man/7/glob>)

There can be two reasons with SourceTree behaviour,

1. Sourcetree has some issue with pattern matching etc. (may be a bug)
2. Your folder \`.vscode\` was earlier part of git and you have removed it just by adding to '.gitignore' and have not removed it from git itself.
   1. If this is the case, try
   2.

          # git rm --cached -r .
          # git add .


Tags: git-ignore
Ignored File does not appear in .gitignore.
Asked by Morgan Allen:

Hi there- I've right-clicked on a particular file in sourcetree and set it to 'ignore', and I'd like to revert that, but the file doesn't show up in my .gitignore file either. Any idea what might be happening here?


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

Most likely, the file got added to global .gitignore and not the local .gitignore.

When you choose to ignore a file that is modified etc, SourceTree should bring up a dialogue where you can choose either of them. Can you check the global .gitignore file and see if it's there?

To remove a file that you have added by accident, navigate to Sourcetree \> Preferences \> Git menu option.

Hope that helps! Let us know if you have any questions,

Ana

comments: author: Morgan Allen
body: Hey there Ana- Thanks for the tip! I must have selected the global option by mistake and got confused. I found the global .gitignore in my home directory and editing that did the trick.

Cheers, Morgan


Tags: git
Windows 10 installer "please re-run this installer as a normal user"
Asked by RIchard Hartman:

Downloaded sourcetree installer. Running the installer NOT AS ADMINISTRATOR, and it still tells me to re-run the installer as a normal user. What now?


Answers:
author: Gonchik Tsymzhitov
body: Hi!

Could you try reinstall in admin mode, please?

Cheers,

Gonchik

comments: author: RIchard Hartman
body: Tried that, and got the same result. Sorry.

Also ... apparently you need Chrome to respond to answers? IE doesn't let you ... Somebody should fix that.


author: RIchard Hartman
body: No other suggestion?


Tags: install
Would Atlassian be able to provide a hash so I can verify my download of SourceTree?
Asked by James McDaniel:

Our environment requires that we verify the hash of any tools we download. If one can't be provided, we would need to look for alternatives.


Answers:
author: Gonchik Tsymzhitov
body: I would say Atlassian will not provide, because last few years, I have not seen any hash new of software in other vendors.

Also, google dork does not show any hash info

allinurl:product-downloads.atlassian.com/software/sourcetree/

Please, try to explain why do you need a hash sum?


Tags: hash

windows
Pushing To Origin (about to get fired SOS)
Asked by Sebastian Lee:

git --no-optional-locks -c color.branch=false -c color.diff=false -c color.status=false -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree push -v --tags origin refs/heads/feat/add-creation-time-compensation-request-edit-page:refs/heads/feat/add-creation-time-compensation-request-edit-page

Pushing to <https://github.com/sugarai-ltd/sugar.git>

remote: Invalid username or password.

fatal: Authentication failed for '<https://github.com/sugarai-ltd/sugar.git/>'

Pushing to <https://github.com/sugarai-ltd/sugar.git>

remote: Invalid username or password.

fatal: Authentication failed for '<https://github.com/sugarai-ltd/sugar.git/>'

Pushing to <https://github.com/sugarai-ltd/sugar.git>

remote: Invalid username or password.

fatal: Authentication failed for '<https://github.com/sugarai-ltd/sugar.git/>'

Pushing to <https://github.com/sugarai-ltd/sugar.git>

remote: Invalid username or password.

fatal: Authentication failed for '<https://github.com/sugarai-ltd/sugar.git/>'

Completed with errors, see above


Answers:
author: Daniel Eads
body: Hey Sebastian, thanks for posting to get some help with Sourcetree.

Looks like you're trying to connect to Github and getting an invalid username or password error. Although we don't know your account status with Github, I can give you some pointers to help troubleshoot:

1. Try logging in to your Github account through your browser to make sure your account is in good standing. If you can't log in via the web, any git commands are also going to fail.
2. Check the authentications settings in Sourcetree. If the account is set to use HTTPS, try switching to SSH. And vice versa - if you're having issues with SSH, try HTTPS.
3. Check out some of the [other solutions offered here.](https://stackoverflow.com/questions/29297154/github-invalid-username-or-password)

Bummer that you're encountering issues trying to push to your repo, but hopefully with a little prodding you're able to clear it up!

Cheers,  
Daniel
sourcetree crash after installed
Asked by ToCai:

When I installed the sourcetree, I followed the guide to the next step, choose the bitbuket. after I click the option, then crash !

I dont know what happen !

I uninstall and delete all, reinstall it, still same!

How to solve this problem, pls help me ! i need it to work!

What a worst software!


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

I understand you're having trouble to use Sourcetree, however we need some information about your environment to help you get this fixed:

- Which version of Sourcetree are you using?

- Which OS do you have?

- Are you using Bitbucket Server or Cloud?

- Can you try [Wiping the Sourcetree preferences](https://confluence.atlassian.com/sourcetreekb/how-to-wipe-sourcetree-preferences-412484640.html)?

- What do the logs say? You can find them at [Sourcetree logfile location.](https://confluence.atlassian.com/sourcetreekb/sourcetree-logfile-location-675384748.html)

Let us know!

Ana
SourceTree??????????Bitbucket??????????????
Asked by ????:

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

Windows10????SourceTree?????????????

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

????????SourceTree?web??????????

????????????????Bitbucket?????????

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

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

--------------------------------------------------------------------------------

?????????exe????

SourceTreeSetup-3.1.2.exe

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

Windows 10

Dell OptiPlex

?????????

??????????????  
Bitbucket Server?Bitbucket?????????????  
Bitbucket????????????  

?  

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

![1_?????????.png](/t5/image/serverpage/image-id/64773i9B1F56C3432DEF16/image-size/large?v=v2&px=999 "1_?????????.png")  

?  

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

![2_?????????.png](/t5/image/serverpage/image-id/64774i1A2A05DAC8EBE013/image-size/large?v=v2&px=999 "2_?????????.png")  

<br />

?  

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

![3_????????????????.png](/t5/image/serverpage/image-id/64775iBDD1E6C3D5131922/image-size/large?v=v2&px=999 "3_????????????????.png")

<br />

--------------------------------------------------------------------------------

<br />

<br />

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

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


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

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


Tags: language-ja
Can't login Sourctree - Bitbucket
Asked by Muhammad Robbi Zulfikar:

1. Login with Bitbucket \>\> Automatically open the Chrome Browser \>\> Redirect to Login in Atlassian.com \>\> Succeed to Login in Atlassian.com \>\> Redirect to <https://bitbucket.org/dashboard/overview> \>\>

![image.png](/t5/image/serverpage/image-id/64765i3713BE206D990498/image-dimensions/464x261?v=v2 "image.png")

2. After Login in Atlassian.com, the Sourcetree App still says : "Login to Bitbucket. Waiting for login to finish..." \>\>

![image.png](/t5/image/serverpage/image-id/64766iAE550589EBD70EC9/image-dimensions/465x261?v=v2 "image.png")

3. Stuck in number 2.

4. Then, i tried to click "Back" button in Sourcetree App \>\> click login with Bitbucket \>\> Automatically create a new tab in Chrome Browser \>\> Redirect to this link [https://bitbucket.org/site/oauth2/authorize?response_type=code\&client_id=HJdmKXV87DsmC9zSWB\&state=authenticated\&scope=account%20account:write%20team%20team:write%20repository%20repository:write%20repository:admin%20pullrequest%20pullrequest:write%20snippet%20snippet:write%20issue%20issue:write%20wiki%20email%20webhook%20project%20project:write\&redirect_uri=http://localhost:34106/](https://bitbucket.org/site/oauth2/authorize?response_type=code&client_id=HJdmKXV87DsmC9zSWB&state=authenticated&scope=account%20account:write%20team%20team:write%20repository%20repository:write%20repository:admin%20pullrequest%20pullrequest:write%20snippet%20snippet:write%20issue%20issue:write%20wiki%20email%20webhook%20project%20project:write&redirect_uri=http://localhost:34106/)

5. After redirect to that link, the browser automatically redirect to this link [http://localhost:34106/?state=authenticated\&code=WcW5EZgjt7A8NNnhjL](http://localhost:34106/?state=authenticated&code=WcW5EZgjt7A8NNnhjL) and only show :

![image.png](/t5/image/serverpage/image-id/64768i913E359A364EEB63/image-dimensions/465x262?v=v2 "image.png")

6. After showing that output ("This site can't be reached"), i click the Sourcetree App, and still showing this output \>\>

![image.png](/t5/image/serverpage/image-id/64769iA6BFC94BB4A1DB04/image-dimensions/464x261?v=v2 "image.png")

Can anyone help me to solve my problem? Thank!


Answers:
author: petri niskanen
body: i got exakt same issue, i have tried to get this working now for several hours now. maybe it's time to change git tool :(


author: Muhammad Robbi Zulfikar
body: Please anyone help me
DiffMerge never launches
Asked by Gizambica:

So I have the external merging tool setup, with the path and everything, but when I click "Launch External Merge Tool" from the dropdown, the merge tool is never launches

This is what my .gitconfig looks like

```
[..]
[difftool "sourcetree"]
cmd = 'C:/Program Files/SourceGear/Common/DiffMerge/sgdm.exe' \"$LOCAL\" \"$REMOTE\"
[mergetool "sourcetree"]
cmd = 'C:/Program Files/SourceGear/Common/DiffMerge/sgdm.exe' -merge -result=\"$MERGED\" \"$LOCAL\" \"$BASE\" \"$REMOTE\"
trustExitCode = true
```

And my Tools/Diff window in sourcetree:![image.png](/t5/image/serverpage/image-id/64704i68089334FEA90D45/image-size/large?v=v2&px=999 "image.png")Can anybody give me a hand? Thanks!


Answers:
author: Jimmy Seddon
body: Hi [@Gizambica](/t5/user/viewprofilepage/user-id/3541533) ,

Welcome to the Community!

I'm not 100% familiar with DiffMerge itself, but looking at their command line argument documentation: <https://sourcegear.com/diffmerge/webhelp/sec__clargs__merge.html>

It looks as though the arguments you are supplying might be attempting to perform the merge automatically and then exiting. Have you tried setting the merge command without supplying any arguments to see if it will launch?

I hope that helps!

-Jimmy

comments: author: Gizambica
body: Apparently the issue was the file itself! It was either deleted or renamed in one of the branches, and thats why the merge wouldnt be possible!

I have the terrible habit of renaming files left and right, guess I brought that on myself!


author: Jimmy Seddon
body: I'm glad you were able to get to the root of the problem!


Tags: diff

merge
How to add automatically the link to the page that was created from the macro Created From Template?
Asked by Sari Kachorovsky:

I have a macro to create page from Template, I would like that once the page was created (from template) the link to this page will be added to the page (near the button that asked for Create a template). So in the One Pager line, under the Create From Template - I will get the link to the Page that was created and so on...Is it possible?![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/315518i58CD42FC3727032C/image-size/large?v=v2&px=999 "image.png")


Answers:
author: Barbara Szczesniak
body: [@Sari Kachorovsky](/t5/user/viewprofilepage/user-id/5188527) I have something similar in one of my templates. My **Create from Template** macros create the new page as a child page of the current page.

On my template, under the Create from Template macro, I have a **Child Pages** macro, which causes all of the pages created to be listed as links.

Depending on how your different pages are created, you could have a Child Pages macro under each of your Create from Template macros with parameters set such that it will cause the page specifically created with that macro to appear.

comments: author: Sari Kachorovsky
body: [@Barbara Szczesniak](/t5/user/viewprofilepage/user-id/5187859) thanks, I thought about it too, but i have all kind of pages under this page, I've tried to use the macro you suggested but wanted to filter the child pages by Label but there is no such option. I wanted the specific page that was created for One page to be linked beside , and in the PRD the PRD doc that was created and Tech design near the tech design and so on.


Tags: cloud

confluence-cloud
Long Upload Times for GIFs Compared to MP4s or ZIPs in Confluence 7.19.19
Asked by ??:

Hello Confluence Community,

I'm experiencing a significant issue with uploading GIFs to my Confluence site (version 7.19.19) that I'm hoping to get some assistance with. The upload time for GIF images is substantially longer than for files of similar size, such as MP4 or ZIP files. Here are the details of the problem:

* **Issue Summary:** When uploading GIF files, the process is much slower compared to uploading MP4 or ZIP files of the same size. The progress bar fills up immediately, suggesting the upload is complete, but the process is actually not done. After a delay, I receive an error message (see below), although, eventually, the GIF does successfully upload. The time taken is significantly longer than it is for files of other types.

* **Confluence Version:** 7.19.19

![q1.png](/t5/image/serverpage/image-id/315499i27788904046249E2/image-size/large?v=v2&px=999 "q1.png")![q2.png](/t5/image/serverpage/image-id/315500i73AD651153BB78C5/image-size/large?v=v2&px=999 "q2.png")![q3.png](/t5/image/serverpage/image-id/315501iE3A084179CBD2B00/image-size/large?v=v2&px=999 "q3.png")

I've searched through the documentation and forums but haven't found a solution that addresses this specific issue. Has anyone else experienced this, and if so, how were you able to resolve it? Any advice or suggestions would be greatly appreciated.

Thank you in advance for your help!


Answers:
author: Dan Breyen
body: Hi [@??](/t5/user/viewprofilepage/user-id/5466006) I took a quick look at Atlassian's Jira site and came across [this issue](https://jira.atlassian.com/browse/CONFSERVER-58200) which sounds like your problem. Feel free to vote for and watch it for updates, keeping in mind it would be fixed in Data Center software, so you would need to migrate to there as it appears you are running Confluence Server software.

Hope that helps.

comments: author: ??
body: This issue seems more like a configuration problem rather than a bug, as I haven't seen other users facing this problem. Do you know of any parameter settings that might resolve this issue?
I am trying to install Confluence Data Center 8.5.7. The service starts and stops immediately.
Asked by Md nisar:

I am trying to install Confluence Data Center 8.5.7. I have imported the MySQL (mysql-connector-j-8.3.0.jar) in the path (C:\\Program Files\\Atlassian\\Confluence\\confluence\\WEB-INF\\lib) and restarted the Confluence services.

However, the service starts and stops immediately. I tried installing 8.4.5, which worked fine. But when I upgrade from 8.4.5 to the latest 8.5.7, I get the same error.

I cannot open any log files. The administrative user says I do not have permission.

Please refer to the below video link   
<https://app.screencast.com/vmutorwNsPoyJ>


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

You will need to tell your administrators to let you have access to the log. The only way you can debug this problem is by reading the logs.


Tags: confluence-data-center

data-center
I am trying to install Confluence Data Center 8.5.7. The service starts and stops immediately.
Asked by Md nisar:

I am trying to install Confluence Data Center 8.5.7. I have imported the MySQL (mysql-connector-j-8.3.0.jar) in the path (C:\\Program Files\\Atlassian\\Confluence\\confluence\\WEB-INF\\lib) and restarted the Confluence services.

However, the service starts and stops immediately. I tried installing 8.4.5, which worked fine. But when I upgrade from 8.4.5 to the latest 8.5.7, I get the same error.

I cannot open any log files. The administrative user says I do not have permission.

Please refer to the below video link   
<https://app.screencast.com/vmutorwNsPoyJ>


Answers:
author: Shawn Doyle - ReleaseTEAM
body: Ask the administrative user to grant you rights to the log files, or have them copy the log files to a location you can read them. Without seeing why the service stops, we can't be very helpful.


Tags: confluence-data-center

confluence-server

data-center

server
Is there a "share" trigger event when a page is shared?
Asked by weixz:

When using Confluence for page sharing, is there a function of triggering a call event to a third-party interface, similar to triggering a webhook?


Answers:
author: Michel Neeser
body: Hi [@weixz](/t5/user/viewprofilepage/user-id/5446732)

As far as I know, there is no webhook or automation event which gets triggered if a page is shared through the "share" feature. This is most likely because a page can be shared in a number of ways, the easiest of them being copying and sending the URL to someone.

Maybe you can elaborate a bit more about your use case? As mentioned, a user has various options to share a page, so in my view it is difficult to have a "complete" solution if only relying on the "share" feature.


author: Laurie Sciutti
body: Hi [@weixz](/t5/user/viewprofilepage/user-id/5446732) \~ does [this](https://community.atlassian.com/t5/Confluence-questions/How-to-use-the-Share-Page-plugin-REST-API/qaq-p/1349851) help?

comments: author: weixz
body: Thank you very much for your reply, I would like to know if an http request to a specific url can be triggered by a Confluence page sharing event. Confluence WebHook seems to be the solution, but I can't find an event related to page sharing in the Confluence documentation, I'd like to confirm if there is a sharing triggering event?


Tags: confluence-data-center

data-center
Not able to edit the powerpoint
Asked by Maria Noor:

Not Able to edit the PowerPoint

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


Answers:
author: Barbara Szczesniak
body: [@Maria Noor](/t5/user/viewprofilepage/user-id/5465923) Welcome to the Atlassian Community!

I don't use Data Center, but this message looks like maybe someone moved or renamed the file being linked to from Confluence.


Tags: confluence-data-center

data-center