youngmon/atlassian-qna huggingface dataset:
How does someone PULL all branches at one time
Asked by Claudio Chiappetta:

Would like to to PULL all the Remote branches in the list at one time instead of pulling one at a time. I run this alot and if there is a way it would save me some hassle and time.

![Capture.JPG](/t5/image/serverpage/image-id/20667i7487C9C7DDC8F468/image-size/large?v=v2&px=999 "Capture.JPG")


Answers:
author: Mike Corsaro
body: Hello! You can do this via a "Custom Action":

* Go to Tools \> Options \> Custom Actions
* Click "Add"
  * Menu caption: give this a name like "*Pull all remote branches*"
  * Make sure "*Show Full Output* " and "*Run command silently*" are unchecked so that you can debug your script
  * Script to run: make a new file called "*pull_all.bat*" or something like that. Edit the file to contain a script that does what you'd like to do (I'm not sure how to pull all remote branches so you'll need to figure out this part yourself)
  * Parameters: this should be **$REPO**
* Click "OK"
* You can now find your custom action under "Actions \> Custom Actions"

For the **.bat** script, make sure you use the parameter you pass so that you're working in your repo when the command runs:

```
cd %1
git "pull all branches script"
```


Tags: branch
Pushing requires password authentication
Asked by Patrick Tchakounte:

I am trying to push to the master branch on SourceTree and every time, it asks me for the account password. I type the right password but to no avail. I added an SSH key but it still will not fix the issue.

Can someone help?


Answers:
author: NotTheRealStephenSifersNOPENOPENOPENOPE
body: Chances are is that BitBucket is prompting for a captcha upon login.

Try logging out of BitBucket and then logging back in. Or if you are an admin, locate your user and clear the "Captcha required" for the user and re-attempt a push to BitBucket.

comments: author: Patrick Tchakounte
body: I do not have global permissions. I have a free account.


author: NotTheRealStephenSifersNOPENOPENOPENOPE
body: So in your case then, log out of bitbucket, then log back it. That will reset the captcha prompt allow you to submit code from sourcetree. If the password fails again then the captcha will be re-triggered.


author: Patrick Tchakounte
body: I logged out then logged back in. I still get the same problem. I am prompted with a "Password Required" dialog box.


author: Patrick Tchakounte
body: I solved the problem by pushing with the terminal and it worked. Thank you for your help, I appreciate.


Tags: push
Can sourcetree be used without atlassian account, e.g. for github?
Asked by John Little:

When you install sourcetree on mac, you have to enter an atlassian account. I dont have/need/want an atlassian account (currently at least). I only work on open source github projects. Am I correct in assuming therefore, that souretree is only for bitbucket? If not, how do I install it without an atlassian account? Or does everyone just create a dummy one?


Answers:
author: M kee
body: TL; DR; Ana should have just responded with no...it cannot be used without an atlassian account...


author: Ana Retamal
body: Hi John! Sourcetree is not only for Bitbucket, you can use it with Github or any other service if you prefer. However, as part of the installation process you're required to register Sourcetree with your Atlassian account. This is only asked at the beginning and you don't need to use it anymore, so you could create a dummy one and then connect Sourcetree to your Bitbucket account following the steps at [Connect your Bitbucket or Github account](https://confluence.atlassian.com/get-started-with-sourcetree/connect-your-bitbucket-or-github-account-847359096.html)

Let us know if you have any further questions!

Have a nice day :)

Ana

comments: author: Lakshminarayanan Krishnan
body: Yeah - the issue we are facing in my company is, we have some development teams in China, and they are unable to go beyond the screen where it asks for the Atlassian credentials. After double checking the password and clicking "Log in", we are just getting a dumb no-extra-information provided error (see attached pic)![L_71D.tmp.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/21691i1899E5810B3AC1BD/image-dimensions/381x256?v=v2 "L_71D.tmp.PNG")

I am pretty sure it is something to do with perhaps some china related access, however, without further debugging information, we are unable to proceed. Is there any way to get this app to install successfully so we can start accessing our code in Bitbucket.

Please let me know.

Do I need to open a separate support ticket for this?
Disable notification
Asked by Florian:

Is there a way to disable this notification?

we use the Enterprise Edition 2.4.7.0 and do not want any information about new versions, unless it is the new Enterprise Edition.

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


Answers:
author: bgannin
body: Hi Florian,

There was an incorrect posting on the website's Downloads Archive indicating 2.4.7 was an Enterprise release that we've since updated. 2.5.5 is the official Enterprise release. It includes disabled updating when installed via the MSI. See <https://www.sourcetreeapp.com/enterprise> for more details and documentation.

Brian Ganninger  
Product Manager, Sourcetree

comments: author: bgannin
body: For new release announcements we recommend administrators watch the [Sourcetree Enterprise sub-collection](https://community.atlassian.com/t5/Sourcetree-Enterprise/ct-p/sourcetree-enterprise) here on Community. We're posting the release notes there for easy access and notifications about that topic.


author: Florian
body: If you don't see/usable the source tree at 10 start it works. The process is running but it is impossible to open a window.

But the update flag is gone.


Tags: sourcetree-enterprise
Why all Source Tree windows are transparent?
Asked by ????:

Hi. I tried to install and use Sourcetree. But in the install process, the window of Sourcetree is all transparent and cannot finish install.

I tried uninstalling Sourcetree using Control panel, deleting all the file in the "C:\\Users\\xxx\\AppData\\Local\\Atlassian" and C:\\Users\\gt510\\AppData\\Local\\Atlassian\\SourceTree.exe_Urlxxxxx", and reinstalling older versions of Sourcetree, although nothing succeeded.

In the screen shot, the window seems black, but usually it is transparent. I wondered that the graphic driver was wrong and updated it, but it did not improve the situation.![?????.PNG](/t5/image/serverpage/image-id/20565i56E76627D94F08FB/image-size/large?v=v2&px=999 "?????.PNG")


Answers:
author: Mike Corsaro
body: Hello! This is most defiantly an issue with either your video-card drivers, your DirectX version, or some other issue related to that.

Could you try the following? It's going to disable hardware acceleration for all WPF apps but may solve the problem:

Set the following registry key to a **DWORD** of **1**:

    HKEY_CURRENT_USER\SOFTWARE\Microsoft\Avalon.Graphics\DisableHWAcceleration

comments: author: ????
body: I am so sorry that it was not fixed though I tried.

Originally, there is no registry folder, such as

    HKEY_CURRENT_USER\SOFTWARE\Microsoft\Avalon.Graphics\DisableHWAcceleration

This is the picture of regedit, where I have no \\DisableHWAcceleration folder.

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


Tags: transparent

windows
How can I delete commits?
Asked by Alexandre Santos:

So I accidently named a commit not the way I should, and now I'm having all sorts of issues trying to delete it. I'll link a picture where I highlight what is bothering me.

I'm kinda new to all this sourcetree stuff, so can anybody help me to figure out how to delete (if possible) this stuff off my repo?

Also because of these commits I'm not being able to push my new commits to the remote repo, so as soon as somebody can answer the better.

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


Answers:
author: NotTheRealStephenSifersNOPENOPENOPENOPE
body: I have had to do this before. Rough steps are to:

1. Reset Current branch to this commit (Choose your commit point wisely)
   1. Select Soft if you want to keep the changes
   2. Select Hard if you want to really undo the commit
2. Re-commit your code with the proper name.

You may have to rebase if you run into push issues.


Tags: commit

delete
Why login is not working?
Asked by Ernest Leyva:

I installed source tree. I created new account. However I can't login.


Answers:
author: Mikael Sandberg
body: You need to provide more information in order to get help. When you say that you cannot log on, are you not able to log on to your my.atlassian.com account? Or is it your Bitbucket account? GitHub? Bitbucket Server? Do you get an error message?

comments: author: Ernest Leyva
body: I installed Sourcetree on Mac. When I double click it to open it, I get the Login Atlassian wizard. Then I clicked "use existing account" and I get a new window asking for my email, I enter my email and click the "continue" button I get a spinning wheel and nothing happens.

However if I select "Go To my Atlassian" A new browser window opens and I can see my account.

I already got the verification email and clicked that link.

Thanks


Tags: mac
I suddenly can not connect to my BitBucket from SourceTree
Asked by Jed Monsanto:

What's wrong on the my source tree, i suddenly received an error that Authentication Failed then when i put my credential, it says its invalid.

this is frustrating, i dont do anything on my account!!!


Answers:
author: Dalectric
body: We're having this with 2.5.5.0. Something is getting messed up with the user credentials stored on your PC. Go to Tools - Options - Authentication

Click on your username in Accounts and delete this. Then add it again.

This has fixed it for us on a couple of instances.


author: Ana Retamal
body: Hi Jed! Have you changed your password recently? Can you confirm if your Bitbucket credentials are stored correctly as explained at [Connect your Bitbucket account](https://confluence.atlassian.com/get-started-with-sourcetree/connect-your-bitbucket-or-github-account-847359096.html)?

If you're still having issues, please send us a screenshot so we can continue helping you.

Kind regards!

Ana
Unable to commit to the remote branch
Asked by phirlikar:

I am trying to commit to the remote branch and I am getting the following error -

git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree commit -q -F /var/folders/4k/jqxmrnjj6mj5hqdlk_ldk_2r0000gn/T/SourceTreeTemp.A6wGK2

env: node: No such file or directory

Completed with errors, see above

The commit is never pushed.

Sourcetree v2.7.3(169)


Answers:
author: phirlikar
body: I fixed it by removing hooks for pre-commit


Tags: commit
How can i get rid of invalid file references
Asked by Michael Fritzsche:

I have some invalid file references in my local git which i cannot get rid of. Any try to remove, stop tracking etc. fails do to "file does not exist" ... the files dont exist, but sourcetree shows that "files" ... how can i get rid of them?

![Bildschirmfoto 2018-04-23 um 20.10.22.png](/t5/image/serverpage/image-id/20411iD6FCE783952107BF/image-size/large?v=v2&px=999 "Bildschirmfoto 2018-04-23 um 20.10.22.png")

There are no such file with a \\r at its end


Answers:
author: Mike Corsaro
body: Hello! Not sure why this is happening as I haven't seen it before, but could you try toggling "Disable Libgit2" under Options \> Git, and see if that helps? If you're not on the latest version, I'd also recommend upgrading as that may solve the issue as well.
Why am I not been able to login to Source tree Atlassian account with my registered mail id?
Asked by Ananya Sarkar:

WHenever I am trying to attempt login in my Atlassian account using my registered mail id, the login page goes on a series of login loop and the password page is not displayed. As a result I am not been able to login using my registered Atlassian account. Please help me resolve the issue


Answers:
author: Ana Retamal
body: Hi Ananya! Are you using Sourcetree for Windows or for Mac? If you're on Windows, make sure you have Internet Explorer updated to the latest version, as Sourcetree relies on it for authentication.

If you still have issues after updating, can you check if there's any more info in the logs? You can find them at [Sourcetree logfile location](https://confluence.atlassian.com/sourcetreekb/sourcetree-logfile-location-675384748.html).

Also, can you try logging in to <https://bitbucket.org/account/signin/> with your credentials and see if it works?

Let us know!

Ana

comments: author: Ananya Sarkar
body: Hi Ana, thanks for your help.

My internet explorer version is 9.0 and the latest version is 11.0.

So do I need to upgrade it ti I.E. 11 version or I can try with Google Chrome as well.

Please help me regarding the same.

Thanks,

Ananya


author: Ana Retamal
body: Hi Ananya, Sourcetree uses Internet Explorer for the authentication step, so it doesn't matter which other browsers you normally use. Please update Internet Explorer to version 11 and try to log in to Sourcetree again :)

Should you still encounter any issue, let us know!

Kind regards,

Ana


author: Ananya Sarkar
body: Thanks Ana for the help!!


author: Ana Retamal
body: Glad I could help you :)

Have a nice day,

Ana


author: javedkhan22
body: Hi Ana,

I am also facing the same issue even my all browser are updated, Whenever i enter my credential source tree start validating for hours.

Let me know if any further steps I need to follow.

Thanks

Javed khan
Bitbucket account not connecting - SourceTree
Asked by zalyahya:

I initially connected my Bitbucket account and can now see all my repos in SourceTree. However, now it seems to be disconnected and I'm unable to reconnect. Here are the steps I'm following:

1. Go to SourceTree \> Preference \> Accounts, I see an "!" next to my account.
2. Double click on said account.
3. Click on "Connect Account"
4. Enter credentials (email and password)
5. Click "login"

The result: It loads for a bit, then I go back to where I started and the account is still disconnected.

Note: I have the latest version of SourceTree for Mac.


Answers:
author: Ana Retamal
body: Hi Zaina! Have you changed your credentials recently? Can you try logging in to <https://bitbucket.org/account/signin/> and see if it works?

If it does, then try [wiping Sourcetree preferences](https://confluence.atlassian.com/sourcetreekb/how-to-wipe-sourcetree-preferences-412484640.html) and add your credentials again by following the steps at [Connect Sourcetree to your Bitbucket account](https://confluence.atlassian.com/get-started-with-sourcetree/connect-your-bitbucket-or-github-account-847359096.html).

Let us know how it goes!

Best regards,

Ana


Tags: bitbucket

mac
How to link local folder
Asked by Steve Brickle:

Up until this w/e, when I clicked on the Explorer icon, the folder would open in such a way that the entire project showed, root folder with all its sub folders.

Today when I click on the Explorer icon it opens showing only one of the sub folders and I have to navigate back up the tree to see the whole project.

Anyone else seeing this, or I have caused the issue myself?


Answers:
author: Ana Retamal
body: Hi Steve! Are you still experiencing this issue? If so, can you tell us which OS and version are you using, and also send a screenshot so we can see more clearly what are you referring to?

Kind regards!

Ana

comments: author: Steve Brickle
body: Thanks for your reply. Source Tree 2.5.5 for windows

I have since my post discovered that depending which commit is highlighted...![](https://puu.sh/AhLNr/c402a14326.png) In the example you can see that the commits is in the api/theme folder, Explorer then opens the theme sub folder /theme

If on the other hand I highlight a non sub-folder specific commit, Explore will open the whole git

Previous versions of ST have always opened the whole git in explorer irrespective of which commit is highlighted

I hope that makes it a bit clearer
Embedding a Google Sheet into a page in Confluence Cloud
Asked by Benjamin Beach:

One of my Confluence users wants to be able to embed a Google sheet into a Confluence page and be able to auto-update/synchronize the page so that when the Google sheet is updated, the page can then be updated either manually or automatically. If this can be done without an add-on, great! If not, which add-on would you recommend?

Thanks in advance for your input/advice!

Ben


Answers:
author: Kristian Klima
body: I simply use an iframe with the link to a Google document - the only thing I'm adjusting is the behavior (size) of the iframe. If you allow it to run full screen, viewers will the luxury of seeing the full-size spreadsheet :)

This way, the Confluence page acts as a passive viewing environment so it always displays the the document as it exists at any given moment.

Obviously, whoever views the page must also have access to the Google spreadsheet. We're taking advantage of how our SSO is set up.


Tags: cloud

confluence-cloud
What is the best way to give customers access to our company's Wiki?
Asked by Roman Plischke:

Hello,

we have established a Wiki about our company and want to share it with interested customers. Still, we do not want to activate it for everybody (so no anonymous access).

What would be the recomemded way though?

To register them all as Guests? Everyone?

(We have 45 payed users)

Thank You \& Regards


Answers:
author: Jack Brickey
body: based on what you have indicated I would use guest accounts. Understand you are limited to 5 guests per licensed user.

[invite-guests-for-external-collaboration](https://support.atlassian.com/confluence-cloud/docs/invite-guests-for-external-collaboration/)


author: Kristian Klima
body: As was suggested, guest accounts could work but there are limits.

- 5 guests per a paid seat

- 1 guest can only access 1 space

You may also consider an app based solution.

Example. K15t's Scroll Viewport allows you to create a dedicated documentation site (content from multiple spaces), on your own domain, and restrict access via SSO. Then you'd simply provision your 45 customers to your SSO identity provider and bang... you have a dedicated wiki site, on your own domain, and you control who can access it.


author: Scott Beeson
body: I feel like "Interested customers" are not going to sign up for an account to read your company wiki. Plus, it's potentially a LOT of accounts to manage.

Obviously I don't understand all your requirements, but maybe create a separate space for this specific purpose so you can enable anonymous access?

The "Public Link" feature might also be an option, but it's for individual pages.


Tags: cloud

confluence-cloud
Confluence Automation not moving page on create/publish
Asked by Anthony Magenot:

Hello - I am using Confluence Cloud Automations to move a page created from a template to a new parent page within the same space.

The template adds the label 'kb' and I would like to move this to another parent page. Here is what I have setup:  

![image.png](/t5/image/serverpage/image-id/299927i3CA6E5E52B6D8E13/image-size/large?v=v2&px=999 "image.png")![image.png](/t5/image/serverpage/image-id/299928i8B2F196234375FE6/image-size/large?v=v2&px=999 "image.png")

Any help would be fantastic!


Answers:
author: Brant Schroeder
body: [@Anthony Magenot](/t5/user/viewprofilepage/user-id/5402479) welcome to the Atlassian community

Were you able to find a solution to your problem?


Tags: cloud

confluence-cloud
Viewing Groups that Users are Assigned To
Asked by Will Baltazar:

Is there a way to look up the groups that users are assigned to w/o being a site or organization admin? I'm aware of the user list macro to view the users given I know the group name. How about the other way around? I'm asking specifically for Confluence, but it probably doesn't matter JIRA or Confluence.


Answers:
author: Jack Brickey
body: Unfortunately no, at least not OOTB. What I would recommend is establishing a process, whereby all groups are documented and under change control. The administrator should be doing this by the fault in reality. However, many organizations are not quite that formal. Regardless, that is an important process To ensure issues do not arise if an admin leaves the position.


Tags: cloud

confluence-cloud
Cannot configure Confluence Data database
Asked by Server Room:

When I moved past the Postgres setup page I get this error:

The following error(s) occurred:

* Configuring database failed
* StatementCallback; bad SQL grammar \[CREATE OR REPLACE FUNCTION space_function_for_denormalised_permissions() RETURNS TRIGGER AS $BODY$ BEGIN RETURN NEW; END $BODY$ LANGUAGE plpgsql;\]; nested exception is org.postgresql.util.PSQLException: ERROR: permission denied for schema public

Any ideas?


Answers:
author: Alexis Robert
body: Hi [@Server Room](/t5/user/viewprofilepage/user-id/5402297) ,

as far as I can see it might be because of permissions granted to the Jira user on newer Postgre versions.

You can look at the suggested solution in [this post](https://community.developer.atlassian.com/t/postgresql-15-with-jira-9-10-9-11-error-permission-denied-for-schema-public-at-character/73474) :

```
CREATE USER jira WITH ENCRYPTED PASSWORD 'supersecure123';
-- since postgres 15 (before db creation) 
GRANT ALL ON SCHEMA public TO jira; 
-- now create objects 
CREATE DATABASE jira WITH ENCODING 'UNICODE' LC_COLLATE 'C' LC_CTYPE 'C' TEMPLATE template0; 
GRANT ALL PRIVILEGES ON DATABASE jira TO jira; 
-- also needed for postgres 15 
ALTER DATABASE jira OWNER TO jira;
```

Let me know if this helps,

--Alexis


Tags: confluence-server

server
How to make Table of Contents find content in Expand macros
Asked by Ashley Honeycutt:

Hi all,

By default, links in the *Table of Contents* for a Confluence page will not take you to the content if it's nested in an *Expand* macro that is collapsed. If the section is expanded, then it is able to find it. I understand that is expected behavior and not a bug.

Is there a workaround for this? I have users with fairly complex Confluence pages and they would like to be able to keep using the *Expand* macros because it keeps things tidy, but it also makes it so they can't easily navigate to content in those macros from the ToC.

Any suggestions are greatly appreciated. Thank you!


Answers:
author: Laurie Sciutti
body: HI [@Ashley Honeycutt](/t5/user/viewprofilepage/user-id/5065838) \~ how about adding a Header (either above the Expand macro or within the Expand macro)?

comments: author: Kristian Klima
body: Exactly, a simple tweak of the content would do the trick.

Example:

Heading about something {#toc-hId--407801524}
---------------------------------------------

Expand the following section to learn more about whatever the Heading hints at.

EXPAND MACRO.

This way you're actually making it obvious to the reader there's an actionable item ahead.


author: Barbara Szczesniak
body: So, I guess the key is to not put headings at a level that will appear in your TOC within the expand macro.

It all comes down to planning your organization of the information and (maybe) only including Heading 1s and 2s in your TOC macro.


author: Kristian Klima
body: Yes [@Barbara Szczesniak](/t5/user/viewprofilepage/user-id/5187859) a little adjustment in the information architecture.

BTW, the best practice is to reserve H1 for the page title and only use H2, H3 etc. within the actual page content.


Tags: confluence-server

server