youngmon/atlassian-qna huggingface dataset:
How to force --remote on submodule update
Asked by Liszto:

Hello guys,

do you have an idea on how to force a remote option on a submodule update. Cause currently my submodule can be checkout but if someone modify it from its side and push it, from my side it gets nothing :/  

in my config all seems good cause the first checkout is good but every next update didn't work

Thanks in advance guys


Answers:
author: minnsey
body: Hi  

We do not currently support that option I'm afraid.  

You can double click the submodule in the parent repository, this will open a new tab for the submodule, from there you can do a pull.  

Switching back to the parent repository you can then stage/commit the submodule update.

comments: author: Michael Brennan
body: Can a feature request be created for this? It's common for a submodule to track a branch. In git command line it's as easy as doing a git submodule update --remote to have the submodules updated to the latest commit on the branch.


author: Liszto
body: I approve this could be a very useful feature !


author: minnsey
body: Yes, please raise a Feature Request at <https://jira.atlassian/com>


author: Oz Solomon
body: See discussion at:

<https://jira.atlassian.com/browse/SRCTREEWIN-8283>
Issue in SourceTree 2.6.3 (134) for mac with maximize button
Asked by Luis Diago:

In previous versions (I don't remember exactly which) I could maximize the Repository Browser Window.  
In current version the icon has changed and I cannot maximize using the + button.

![Screen Shot 2017-09-22 at 11.19.09.png](/t5/image/serverpage/image-id/6675i711FF989BCE27FB7/image-size/large?v=v2&px=999 "Screen Shot 2017-09-22 at 11.19.09.png")

Could you put back the maximize/minimize button for the Repository Browser as other windows?

![Screen Shot 2017-09-22 at 11.47.05.png](/t5/image/serverpage/image-id/6676i1E1883C5F2271F54/image-size/large?v=v2&px=999 "Screen Shot 2017-09-22 at 11.47.05.png") ![Screen Shot 2017-09-22 at 11.48.28.png](/t5/image/serverpage/image-id/6677i8CAF8DDD497942F4/image-size/large?v=v2&px=999 "Screen Shot 2017-09-22 at 11.48.28.png")


Answers:
author: Ana Retamal
body: Hi Luis, I've been able to reproduce the situation you mentioned. If you'd like to propose a change on how the application currently works, you can do so by submitting a Feature request at [jira.atlassian.com](https://jira.atlassian.com/secure/Dashboard.jspa), by clicking on the Create button.

Let us know if you have any questions!

Regards,

Ana


Tags: mac
How to make source tree not auto save authentications?
Asked by kboudai:

I am using Source Tree and AWS Code Commit, and I keep getting 403 errors because Source Tree is saving my "user name" and "password." I was hoping there was a way to turn off the auto save functionality.


Answers:
author: minnsey
body: Hi  

In Sourcetree for windows the credentials for a host like AWS are actually all managed by the Git Credential Manager for Windows, <https://github.com/Microsoft/Git-Credential-Manager-for-Windows>.  

I'm assuming you are being shown a grey popup dialog asking for your username/password. It will save these credentials to the Windows Credential Manager and re-use them for subsequent requests.  

I'm not clear why you want to disable this behaviour?

comments: author: kboudai
body: Hello,

Thanks for the response.

That is exactly what is happening. It saves a username and password even when I hit cancel. I also do not want this to happen because I am using AWS CLI and it auto fills that information. So every time it saves I have to go into options and delete the saved auth before I can push/pull/etc.


author: minnsey
body: Can you check the version of the GCM you are running?  

\>git credential-manager version  

If it is \< 1.12.0 (this version ships with Sourcetree 2.3.1) then you should download and install the latest version  

<https://github.com/Microsoft/Git-Credential-Manager-for-Windows/releases>


Tags: authentication

aws
Pull origin/master into current branch selects wrong branch
Asked by Cameron Haddad:

On SourceTree, when i right click on Remotes --\> Origins --\> Master and click "**Pull origin/master into current branch** " the selected branch in **Remote branch to pull**: gets changed to my current branch instead of master, even though i had clicked on master and the context menu said origin/master.

This requires me to check it every time and switch it back to master.

Using Windows 10 with latest SourceTree 2.3.1.0 (has been doing this for ages but)


Answers:
author: Ana Retamal
body: Hi Cameron! That's a known issue and it has been reported at [SRCTREEWIN-7624](https://jira.atlassian.com/browse/SRCTREEWIN-7624). My recommendation is that you watch that ticket so you get notified of further updates. You can also add a comment if you have any questions.

Regards,

Ana


Tags: windows
SourceTree authority window is empty on installation
Asked by nemeosysdev:

I'm trying to install SourceTree (ver. 2.3.1.0), and on step "Atlassian account" I click "Use existing Atlassian account" and get empty authority window. OS - Windows 10 Enterprise (ver. 10.0.10240) with Russian UI

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


Answers:
author: Mikael Sandberg
body: Try this, open Internet Explorer (that is the browser used to display the login page for your Atlassian account), go to the *Advanced options* tab, click on *Reset your Internet Explorer Settings* and check *Delete personal settings,*that should fix it.

comments: author: nemeosysdev
body: Thank you, but... Unfortunately, no. I've tried this, and it doesn't work. I also tried to set up different settings in Internet options, like SSL, but it still doesn't work.

Any another suggestions?


author: Mikael Sandberg
body: Checkout this thread, <https://community.atlassian.com/t5/Sourcetree-questions/Can-t-login-during-Install-Windows-7-on-corporate-environment/qaq-p/636213/jump-to/first-unread-message>

The issue is with IE, so if you can access my.atlassian.com from IE you should be able to do it during SourceTree install.


Tags: windows
Sourcetree update failed. Fresh install also failing.
Asked by pua_kevin:

Clicking "Use existing account" prompts this window:  
<https://twitter.com/regameyk/status/910940074056982528>  

It's blank, and I cannot progress.  

Little help?


Answers:
author: Mikael Sandberg
body: Try this, open Internet Explorer, go to the *Advanced options* tab, click on *Reset your Internet Explorer Settings* and check *Delete personal settings,* that seems to solve it for my users that have had the issue.

comments: author: pua_kevin
body: Cheers Mikael - I'd seen that solution as well. I tried and no dice. Not very surprising, considering I've never used Internet Explorer on this machine. :/


author: Mikael Sandberg
body: SourceTree is using IE to display the login page. What I have noticed is that it may take a bit before the reset take affect, like 30 seconds or more, so that may be worth a try.


author: pua_kevin
body: It's been well over 30 minutes since resetting/deleting settings here. And the Sourcetree blank window has been up for a while too. Still just a blank window.  

Thanks for the attempt at assistance though.
Best version
Asked by larsboerboom:

With the last sourcetree version it keeps crashing on windows 10. Which version should I use?


Answers:
author: larsboerboom
body: After trying out 2.1.2.5 it also very buggy I tried out a really old version 1,7.0 and that one is working perfectly.


author: Blake Pell
body: I had to go back to 2.1.2.5 (not only uninstall, but clear out the folders in AppData).

comments: author: larsboerboom
body: Thx will try that out

Edit:

nvm found it
Not able to Install in Windows 7
Asked by nitya:

I am using source tree from long time. Now I changed the system and try to install the same veriosn SourceTreeSetup_1.8.2.3.exe. But this is taking ,me too Atlassian page then not able to move further.

Need your urgent help.

Thanks

Nitya


Answers:
author: Ana Retamal
body: Hi Nitya, first of all I'd recommend you to install one of the latests versions as the one you're using was affected by a security incident. You can get the newest one at [our website](https://www.sourcetreeapp.com/). Secondly, if you're still unable to log in, try the following:

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
7. After logging in, follow steps 1-5, but ***reset the setting back to the previous option***.

Let us know if it worked for you!

Regards,

Ana

comments: author: Ramakant
body: Thanks for you help. It worked for me.


Tags: windows
Source tree While Installation clicking on "Use and existing Account" Getting blank page
Asked by nityaarya:

Hi,

I ma using the source tree from longer time.

Now i am migrating to the new system when i am trying to install while clicking "Use and existing Account" i am getting empty page so can t install.Please look at this issue.

I tried to run as administrator too but same issue.

Thanks

Nitya


Answers:
author: Steven Woolrich
body: [https://jira.atlassian.com/browse/SRCTREEWIN-7949](/browse/SRCTREEWIN-7949) for FEATURE_BROWSER_EMULATION solution.


author: Ana Retamal
body: Hi Nitya! If you're on Windows, this issue has been reported at [SRCTREEWIN-7949](https://jira.atlassian.com/browse/SRCTREEWIN-7949). There are a few workarounds listed in that page, can you try them and let us know if they worked for you?

Also, I recommend you to watch the bug ticket to get notifications about any updates or workarounds that might arise.

Regards,  
Ana


author: bgannin
body: What Sourcetree version and OS version are you on?
Sourcetree 2.3.1.0 - fail to authenticate to an enterprise installation that uses Windows Creds
Asked by Robert Larson:

Have a corporate enterprise GitHub installation. Switching from GitHub desktop to Sourcetree. Getting

remote: invalid username or password

fatal: Authentication failed for <https://github.customer.net/....repository.git/>

I cannot push or pull. At work stoppage and need help to fix this.

I have cleared all credentials in the Windows Credential manager related to sourcetree and GitHub.

What do I need to do now to get prompted for credentials so it can store the windows credentials.


Answers:
author: Robert Larson
body: Fixed it

1. Open Sourcetree
2. Go to Tools-\>Options
3. Click the GIT button
4. At the bottom where is says GIT version, click the \[Update embedded git\] button and upgrade
5. Click Ok
6. Close Sourcetree
7. Reopen sourcetree and attempt a pull on a repro
8. You will be prompted for credentials, enter your userid and password and it will cache them and should work.

comments: author: Reza Darooei
body: thank you it works
How to view a long textdiff?
Asked by kjgregory:

I'm trying to do a textdif with Source Tree 2.3.1 using git. I'm comparing between my current version and a fairly old version and its a somewhat long file, so there are alot of changes in the particular file. In the compare view, when I scroll to the bottom it shows an ellipsis and appears to cut off a good chuck of the changes.

I noticed the pull-down menu with the gear icon has an option for "external diff". Maybe that's my answer, but when I click it, nothing happens. Do I need to install an external diff tool or something?


Answers:
author: kjgregory
body: Better yet, while I was in the diff settings menu trying to get an external diff tool setup (and not having much success), I noticed that you can modify the diff limit both in lines of code and in bytes. I bumped it from 500 lines to 2000 and that takes care of my problem easily.


author: jyo
body: Kyle,

That's correct-- external diff programs would be like kdiff, or Kaleidoscope. Once the path is set for the diff tool, you should be able to use it. See: <https://oliverbusse.notesx.net/hp.nsf/tutorial.xsp?documentId=C6A>
How does the Confluence sandbox work?
Asked by sola0722:

File preview was not working in Confluence, so I searched for information and found that it was working in Sandbox. So how can we find out how the sandbox works?


Answers:
author: Aron Gombas _Midori_
body: I don't understand the question, but here is the general documentation of the feature:

<https://support.atlassian.com/organization-administration/docs/manage-product-sandboxes/>

Note that if these are images that you want to preview, then maybe those were not copied together with other media files?
How to group Confluence labels by category or types?
Asked by Raphael Teodoro:

Usually we categorize spaces and pages in Confluence by labels, but my question is if it's possible to categorize the labels, tie them together somehow.

I mean is there any solution to group the labels by type? Example: A, B and C are labels of the letters type, while 1, 2 and 3 are labels of the number type.

I know there are metadata plugins that would do that, but metadata plugin fields and values not always have the same usability as native Confluence labels.

If that's not possible, the solution would be to have metadata plugins that translate metadata fields and values to labels somehow? Maybe automation rule with webhooks?

E.g.: App field "Letters" is marked with value A, that triggers labelling the page with label "LetterA".

It would be like having attributes to labels. [Better Labels for Confluence](https://marketplace.atlassian.com/apps/1226412/better-labels-for-confluence?hosting=cloud&tab=overview) allows to add a description to labels, but that's all. Would like to hear from the community if there are any insights for this. Thanks in advance


Answers:
author: Mykenna Cepek
body: A common solution to this "shared namespace" problem is to come up with some naming standards. Using a prefix is a common approach. With your example:

* letter-a
* letter-b
* letter-c
* number-1
* number-2
* number-3

I'm fuzzy on whether CQL can wildcard label names. If not, then I'm not sure this will help you at all.

Confluence add-on/plug-in apps are probably a good way to go. Most allow you to try them for a while for free (but I would do it in a sandbox, since sometimes installation causes "leftovers" in your database that are not easily cleaned up).

comments: author: Raphael Teodoro
body: Thanks [@Mykenna Cepek](/t5/user/viewprofilepage/user-id/3527113) I'm experimenting several plugins to see if any of them give me more flexibility to handle label management the way we need.

And also figuring out how to develop a system label just like the one you suggested.

It's not the ideal world, but it's going on with what we got on hands at the moment. Cheers


Tags: cloud

confluence-cloud
User Macro for Include Content
Asked by Kmmaughs:

We used to use the Include Content Macro by Keysight Technologies, but they haven't released an update in over two years, and it seems we cannot use the macro anymore.

We're on Data Center, so I'm thinking we have the option to write a user macro to replace this functionality. I know the Include Page macro is the basis. Does anyone know what this user macro would look like for specific content on a page?


Answers:
author: Barbara Szczesniak
body: [@Kmmaughs](/t5/user/viewprofilepage/user-id/3426122) I'm not sure exactly what the old macro achieved, but could you use the **Excerpt** and **Excerpt Include** macros? I see they are available on Data Center:

* <https://confluence.atlassian.com/display/DOC/Excerpt+Macro>
* <https://confluence.atlassian.com/display/DOC/Excerpt+Include+Macro>


Tags: confluence-server

server
TOC macro in a Confluence page is not showing on Scroll Viewport generated site page
Asked by Alex Lui:

I have the TOC macro set up on a Confluence page, but when this page goes through Scroll Viewport, the TOC will not show on the generated website page.

Is TOC macro compatible with Scroll Viewport?

Thanks!

Al


Answers:
author: Paul Borm
body: Hi Alex,

I'm Paul, one of the developers working on Scroll Viewport for Cloud at K15t.

We do not support the Confluence's table of contents macro or any specific third party TOC macro from the Atlassian Marketplace. Have a look at [the list of all the supported macros and features](https://help.k15t.com/scroll-viewport/supported-macros-and-features). However, the Help Center theme already has a built-in table of contents. You can activate it inside the theme editor within the *Template \> Article* section.

You can have a look at the [documentation](https://help.k15t.com/scroll-viewport/customize-article-pages) to see what else can be customized on Article Pages.

I hope that helps.

Cheers!

Paul


Tags: cloud

confluence-cloud
Is it possible to copy an entire section (parent and child pages)?
Asked by Janet Shuey:

We need to copy several pages under one parent along with the parent page. We can't just move them to a new location because another application has a link to these pages.


Answers:
author: Michel Neeser
body: Hi [@Janet Shuey](/t5/user/viewprofilepage/user-id/5132151)

Yes, you can do this by following these steps:

1. Hover over the parent page in the page tree and select the three dots
2. Choose "Copy"
3. Select the space to copy the pages to (as shown on the screenshot)
4. **Select the checkbox "Include children"** (as shown on the screenshot)
5. Click "Next", then "Copy"

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

Hope this helps.


author: Dave Wuensch _Decadis AG_
body: Hi Janet.   
Are you on Confluence Cloud or on Data Center?

Cheers Dave


Tags: cloud

confluence-cloud
How do I stop pages published via Scroll Viewport being indexed by Google
Asked by paul.scott:

We have a space in our confluence which is a knowledge base and we share these pages with external links to customers to access via the web, but we **do not** want them to be indexed and turning up in google searches, I've tried adding the label : scroll-***help-centre-no-index***to some pages but after publishing I still don't see the Meta tag robots noIndex being added to those pages?


Answers:
author: Brant Schroeder
body: [@paul.scott](/t5/user/viewprofilepage/user-id/4583051) There is a feature request for public pages <https://jira.atlassian.com/browse/CONFCLOUD-75322> Currently if the space is public then it will be indexed.


Tags: cloud

confluence-cloud
Automation component for when a page is moved
Asked by Kristina Eddy:

I've tried different CQL conditions and advanced compare conditions to set up the "if" portion for an automation to run when a page is moved into a space, but none of them work. Could someone supply the condition that would work to set off an automation when a page is moved to a space? Thanks


Answers:
author: Kristina Eddy
body: OK. I finally, finally got it to work using {{space.url}} equals.

comments: author: William_ Vu
body: Hello Kristina,

I'm having the same concern for workflow approval. I expect the page will be automatically moved to another parent page after finish the workflow approval. How could we setting for this? thank you very much.

William, Vu


Tags: cloud

confluence-cloud
Display text from elsewhere on page
Asked by Phil Laks:

Is there some functionality within Confluence to represent a string or variable from elsewhere on the page to auto-update when changed. For example:  
The top of the page says "400" and you want to say whatever is at the top of the page multiple times later in your document. Can you simply add a macro to reference the initial value, so that when that value is changed or updated the rest of the page shows those updates at each reference?


Answers:
author: Mykenna Cepek
body: Yup! In short:

* Use an "Excerpt macro" with an embedded table of data on the pages with the info of interest. Note that the "Excerpt macro" doesn't show on the page, but the table does.
* Put an "Excerpt include macro" on the page where you want to aggregate the data from the other pages.

Documentation:

<https://confluence.atlassian.com/doc/excerpt-include-macro-148067.html>


Tags: cloud

confluence-cloud
No directory found in specified location
Asked by Neeraj Rath:

while working on the patch upgrade Confluence Update 7.19.8 to 7.19.16 to fix one major vulnerable, we found the installer asking for the existing installation directory and it's picking up a wrong directory, then it's failing with the error "No directory found in specified location".

We have tried to change the HOME directory in the .bash_profile to the correct confluence home /var/atlassian/application-data

export HOME=/var/atlassian/application-data

export PATH=$HOME/bin:$PATH

echo $HOME

We re-tried the upgrade again using confluence user but we got the same issue again. It's pending with the Atlassian team as it's happened in a lower environment. Do we have any way to fix this?


Answers:
author: Brant Schroeder
body: [@Neeraj Rath](/t5/user/viewprofilepage/user-id/5363701) Welcome to the Atlassian directory

Did you see the post here: <https://community.atlassian.com/t5/Confluence-questions/upgrade-error/qaq-p/1927484> with the same issue. I believe this will help solve your problem.

comments: author: Brant Schroeder
body: [@Neeraj Rath](/t5/user/viewprofilepage/user-id/5363701) can you accept the answer to help others.


Tags: server
Google Cloud SQL Postgres Upgrade
Asked by IT Demonware:

Hey, Does anyone know of any issues upgrading the Postgres Sql DB in Google cloud from 9.6 to v13? I know that for Jira this couldn't be done because the upgrade didn't support the collation but it looks like confluence does. I have completed an initial test and all looks ok.

Our Jira Datacenter is in kubernetes.


Answers:
author: Dan Breyen
body: Hi [@IT Demonware](/t5/user/viewprofilepage/user-id/848914) not sure if it answers your question or not, but based on this article: [Supported Platforms](https://confluence.atlassian.com/conf717/supported-platforms-1115677060.html) it may work, but doesn't look like it's supported until Confluence 7.17


Tags: confluence-server

server
report macro - cannot edit
Asked by kurt.sys:

I'm using the report decision macro (to have a list of decisions made, obviously).

However, since today, I can still add a decision report, but I can't edit it (so I can't set the parent/ancestor of pages in which to look for for the decisions). When I click the 'edit' icon, in the dev console, I get the error message:

```
Uncaught (in promise) Error: Syntax or http error: //d3u96wl2fw1037.cloudfront.net/skryvdev.atlassian.net/wiki/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-871403332/h/cda14054d4608898f32b014aeee4c3bc/_/download/batch/com.atlassian.confluence.plugins.confluence-ui-components:user-group-select2/com.atlassian.confluence.plugins.confluence-ui-components:user-group-select2.js?assetVersion=1000.0.0-347ae7eeec13&externals=__local-default__&locale=en-GB
at HTMLScriptElement.W (batch.js?assetVersion=1000.0.0-347ae7eeec13&externals=__local-default__&locale=en-GB:47:6409)
u @ 3.6.1-conf-custom-m03.js:2
c @ 3.6.1-conf-custom-m03.js:2
setTimeout (async)
(anonymous) @ 3.6.1-conf-custom-m03.js:2
l @ 3.6.1-conf-custom-m03.js:2
add @ 3.6.1-conf-custom-m03.js:2
(anonymous) @ 3.6.1-conf-custom-m03.js:2
(anonymous) @ 3.4.0-migrate-conf-custom.js:2
t.<computed> @ 3.4.0-migrate-conf-custom.js:2
then @ 3.6.1-conf-custom-m03.js:2
```

What do I miss?

Thanks, Kurt

![Screenshot 2023-11-14 at 16.17.18.png](https://community.atlassian.com/t5/image/serverpage/image-id/291646i3B475CDD7DDD1303/image-size/large?v=v2&px=999 "Screenshot 2023-11-14 at 16.17.18.png")


Answers:
author: Dan Breyen
body: Hi [@kurt.sys](/t5/user/viewprofilepage/user-id/5330690) welcome to the community! I'm not seeing the same behavior you are getting. I can edit and not get any errors. You may want to open a ticket with support (support.atlassian.com/support) as they might be able to dig into what's causing your error.

I took a look at Atlassian's Jira site (jira.atlassian.com) and didn't see anything that jumped out at me as the issue. But you may want to take a look at it yourself.


Tags: cloud

confluence-cloud