youngmon/atlassian-qna huggingface dataset:
How do I branch from another branch in SourceTree?
Asked by RaChen:

After I clone the repository, I just see master branch. When I click branch it always branches from master. How do I branch from other branches?


Answers:
author: RaChen
body: Source tree lets me branch from a specific branch if i check out to it first. The current branch in Branch dialog could be a list of valid branches under the repository instead of a label of current branch.


author: Mikael Sandberg
body: Hi Raghu,

Welcome to the Atlassian Community.

When you clone a repository, you will automatically clone it with master as your default branch. You can choose a different branch by clicking Advanced when cloning in Sourcetree.

Git/Sourcetree will always by default create a new branch of from the current branch you are on. You also have the option to branch off of a specific commit.
Is there a way to export the full commit history for all repositories in a CSV or TXT format?
Asked by Kraig:

I have a project with nearly 200 active repositories. I have been tasked with pulling the full commit history for all repositories. The resulting file will be audited by an accounting team. At minimum the information they are requesting is repository name, commit date, commit message, and person responsible but have stated that more information is better.


Answers:
author: Mike Corsaro
body: Hello! You can do this by running the git log command with custom parameters. To run it for all your repos you'll have to write a script to go through each folder and run this command:

```
git log --branches --tags --remotes --full-history --date-order --format='%ai %an <%ae> %h %f'
```

Note the **--format**part: this allows you to specify a custom output format for the log:

```
--format='%ai %an <%ae> %h %f'
%ai: author date
%an: author name
%ae: author email
%h: commit hash (small)
%f: commit subject (sanitized)
```

[You can find more format strings on the git log manual page.](https://git-scm.com/docs/git-log#Documentation/git-log.txt-emnem)

comments: author: Adam Harris
body: Is it possible to include the branch name in output?


author: Mike Corsaro
body: Yeah, you can use the *%d*as part of the format string (it will add refs when it encounters a commit that has one), but be aware that each commit will not have the branch it is part of marked with the name.

This is because git doesn't actually know which commit a branch belongs to. It's confusing, but think of branches as a chain of commits where the name of the branch is just a pointer to the latest commit in the chain. So in order to figure out which commit is in a branch you'll need to "walk" all commits from your starting commit until you reach the latest commit which is the branch pointer reference.


author: Halil Sefa Gerdan
body: Hi, can we add the project name in that output file?


author: Scarlett Zhao
body: How can we add Jira ticket number in git log? Thanks!


author: Poat
body: [@Scarlett Zhao](/t5/user/viewprofilepage/user-id/5091462) the developers should be including this in the commit message - here's an output from the above command for a project which is linked to Jira

```
2022-10-19 11:29:18 -0400 Patrick Masters <pmasters@lazydays.com> 14c5a7a GRAPH-93-yml-and-config-tweaks
2022-10-19 11:00:45 -0400 Patrick Masters <pmasters@lazydays.com> 792d563 GRAPH-93-use-ControlReference-to-find-like-GL-items
2022-10-11 13:25:45 -0400 Patrick Masters <pmasters@lazydays.com> ae39371 GRAPH-88-added-versioning-and-editorconfig
```


author: Irina Sanikovich _StiltSoft_
body: You can read [this article](https://stiltsoft.com/blog/2020/11/how-to-export-commit-and-pull-request-data-from-bitbucket-to-csv/?utm_source=atlassian-community&utm_medium=answer&utm_campaign=graphs-traffic-sources&utm_content=export-the-full-commit-history-sourcetree) that describes how to export commit and pull request data to CSV.
Git Flow Install Failed
Asked by Kavya Sree Ravula:

When I click on Git flow to create a new feature in source tree I run into this error:

![GitFlowError.PNG](/t5/image/serverpage/image-id/57119iC704F2C7EA664CE9/image-size/large?v=v2&px=999 "GitFlowError.PNG")


Answers:
author: Kavya Sree Ravula
body: Uninstalled Source Tree and installed back solved the issue. Thanks!
Undo stop tracking action
Asked by Samuel Rabini:

Hi, in a certain point I issue the stop tracking command a folder using SourceTree, commited and pushed the action. Now I need to bring back that folder under tracking.

I cannot find anything that can helps me to do that...

thanks in advance,  
Samuel


Answers:
author: Samuel Rabini
body: SourceTree added the folder to the .gitignore_global file e non in the .gitignore of the project...


author: Samuel Rabini
body: I was able using *git add -f pathtofolder* to re-add all files belonging to the folder I stop to track. I'm not asked to commit new file I create under *pathtofolder*. Is there any way to re-enable the folder?
I m trying to clone my project in sourcetree and I get the following error.
Asked by Ramya shree:

I tried to clone project sin source tree and getting the error as shown in screenshot.

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

So i uninstalled source tree and installed it again. Again have a question like what should I choose and how should i proceed from here as shown below.

![source tree.png](/t5/image/serverpage/image-id/57071i24F18D7F36DEF820/image-size/large?v=v2&px=999 "source tree.png")please help me with how to get this sorted.


Answers:
author: Mike Corsaro
body: Hello! It looks like your team is using Bitbucket Server. Try using that and using the URL your team has for Bitbucket. If that doesn't work you can just click "Bitbucket" and signup for an account.

Once you do that you can copy that URL on the webpage and paste it into the "Clone" tab.

![opejfgipojse.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/57280iE4186B7D22879660/image-dimensions/367x136?v=v2 "opejfgipojse.PNG")
A colleague of mine keeps losing repositories in Sourcetree
Asked by Ninja61:

At work we have all been given laptops and I have had no issues however a colleague of mine keeps losing her repositories if she comes out of Sourcetree, we have tried uninstalling and re-installing, cloning from Bitbucket, adding all ready cloned ones but all to no avail.

Cheers


Answers:
author: Mike Corsaro
body: Hello! Could you provide more info?

Which OS are you using?

Where are the repos stored?

Thanks!
Can't install Sourcetree due to Bitbucket complication
Asked by Jerry Barnes:

I've used Sourcetree for many years and been very happy with it.

I just got a new Mac and am trying to install Sourcetree, but now there seems to be some silly Bitbucket requirement. I don't use Bitbucket!

...but I set up a damn Bitbucket account anyway.

When I try to play along, I'm asked for a "Base URL"?!?

What's that?!?

What a PITA.

So I Google around and I enter what I think it's asking for, then it just sits and spins forever, saying "Logging in...".

If you're trying to win over users to Bitbucket, this strategy is surely failing.

I've seen so many posts online by people who are having trouble with this, but apparently you think it's fine like this.

![Screen Shot 2019-06-08 at 10.55.49 PM.png](/t5/image/serverpage/image-id/57021i8EBD01B2AC3276C7/image-size/large?v=v2&px=999 "Screen Shot 2019-06-08 at 10.55.49 PM.png")![Screen Shot 2019-06-08 at 10.59.00 PM.png](/t5/image/serverpage/image-id/57020iA57DCA333600B06D/image-size/large?v=v2&px=999 "Screen Shot 2019-06-08 at 10.59.00 PM.png")


Answers:
author: bgannin
body: Hi [@Jerry Barnes](/t5/user/viewprofilepage/user-id/3311505),

Are you specifically using Bitbucket Server? (that's self-hosted instances only) If you registered for a free Bitbucket Cloud account specifically for this you should use the first button to log in. Please confirm.

Brian Ganninger  
Principal Developer, Sourcetree
Sourcetree asking to authenticate
Asked by dsmoore1600:

I have sourcetree setup for my on prem tfs Version 15.112.26307.0 with Git repository. We only authenticate via windows authentication, but sourcetree keeps coming up and asking for a username and password. The strangest thing though is that it is connected to the remote and can do a fetch or a push successfully.


Answers:
author: Mike Corsaro
body: Hello!

Could you ensure you have the latest version of the git-credential-manager-for-windows? It would also help to post a picture of the dialog (we have a few auth dialogs that can pop-up).

<br />

Thanks!


Tags: authentication

git

team-foundation-studio
Add second remote repository
Asked by Martin Skj?ldebrand:

Completely new and looking for the documentation of the above.

Can someone please point me to the location of instructions to add a second remote repository? I added repository A as part of the setup, but also need repo B, as well as B1, B2, B3 and B4.

/M


Answers:
author: Martin Skj?ldebrand
body: I found out I can do it from the repository, which all of a sudden had a "Clone in Sourcetree" link.
Test SSH config in SourceTree terminal fails
Asked by Phil Rittenhouse:

We have a script that tests our user's development environment to make sure everything is set up correctly. To test that SSH is setup the script runs

```
ssh -T git@bitbucket.org
```

which is straight from Atlassian's trouble shooting page: <https://confluence.atlassian.com/bitbucket/troubleshoot-ssh-issues-271943403.html#TroubleshootSSHissues-TestSSHauthentication>

For some reason though, one of our SourceTree users fails this test even though their SSH connection to bitbucket is working fine. They can run git pull or push without and trouble but when they run the command above they get:

```
$ ssh -T mailto:git@bitbucket.org
mailto:git@bitbucket.org: Permission denied (publickey). 
```

Upgrading to SourceTree 3.1.3 and the latest embedded git gave the same result

Any ideas?

Thanks,

Phil


Answers:
author: Mike Corsaro
body: Hello!

This probably has to do with any of the following:

* The path to SSH is not the same as the other machines (check environment variables)
* The SSH key info is being saved to .gitconfig in another location (I think the way git feeds SSH info to git is different than just running ssh -T). Run the following command to see where all git configurations come from and compare it to the working machines:  

      git config --list --show-origin
When I first install source-tree it is asking me to register
Asked by Harry Ford:

When I first install source-tree it is asking me to register, however I am already registered and there is nowhere to log in.


Answers:
author: bgannin
body: Hi [@Harry Ford](/t5/user/viewprofilepage/user-id/3301868),

A few questions...

1. what platform (OS) and version (Sourcetree) are you using?

2. what do you mean by "already registered"? *(just want to clarify/confirm)*

3. Can you share a screenshot of what you're seeing?

Thanks,

Brian Ganninger  
Principal Developer, Sourcetree
Redirect Confluence pages to external site
Asked by Amy Martin:

We're moving the content of a Confluence space to another site. We'd like to do page-by-page redirects, but it looks like that may require an add-on product. Is that true? Is there a way to redirect Confluence pages to external pages without an add-in?


Answers:
author: Laurie Sciutti
body: Hi [@Amy Martin](/t5/user/viewprofilepage/user-id/4794190) \~ I don't believe this is possible without an add-on. You can, however, add a banner message indicating the new site base URL...


author: Stavros_Rougas_EasyApps
body: [@Amy Martin](/t5/user/viewprofilepage/user-id/4794190) unfortunately you need an add on. Confluence as a wiki doesn't work exactly like a 301 you would set in WordPress.

With our app [Redirection by Easy Apps](https://marketplace.atlassian.com/apps/1224699/redirection-by-easy-apps?hosting=cloud&tab=overview) you add a macro to the page and set it to redirect to:

![Screenshot 2024-05-15 at 18.24.22.png](https://community.atlassian.com/t5/image/serverpage/image-id/323928iBD3394E09D173627/image-dimensions/286x208?v=v2 "Screenshot 2024-05-15 at 18.24.22.png")

We are working on a bulk redirection feature, currently it is only page by page. Please share your use case/needs: stavros@easyapps.app.


Tags: cloud

confluence-cloud
Remove "All content" page from Sidebar
Asked by Tonie Borchardt:

Hello, I need to remove this horrible "All content" page from my Sidebar. How do I do this? It's awful.

As a last resort, how do I move my CONTENT section up underneath the Home page (Global BPA Knowledge Base)? If I can't get rid of All content, I would at least move it to the bottom.

Thank you.

![all content page.png](/t5/image/serverpage/image-id/313398i2C9DBA6E5E146EED/image-size/large?v=v2&px=999 "all content page.png")


Answers:
author: Laurie Sciutti
body: Hi [@Tonie Borchardt](/t5/user/viewprofilepage/user-id/5457397) \~ I don't believe this is possible though it looks like you can disable "Overview" in the Edit Sidebar project settings, though that doesn't seem to do it. I'm on the free version so I don't know if this requires a paid plan. It looks like there may be a related [open issue](https://jira.atlassian.com/browse/CONFCLOUD-66388) with Atlassian Support that addresses this though.

The only other thing that might work is an add-on that allows admins to customize space themes. HTH

<https://support.atlassian.com/confluence-cloud/docs/customize-your-space/>


Tags: cloud

confluence-cloud
Cannot see child menu as Anonymous user
Asked by Todd Neilson:

Why can't anonymous users see the chlld pages (or even the menu on the left)? i have tried all public permissions, but all they get is the ONE PAGE.

Support docs say:

If anonymous users are granted access to the space, they'll have access to **all content within the space** . To restrict them from a page, you can either [change its page restrictions](https://support.atlassian.com/confluence-cloud/docs/add-or-remove-page-restrictions/) or [hide it from the page tree](https://support.atlassian.com/confluence-cloud/docs/move-copy-and-hide-pages/).


Answers:
author: Shawn Doyle - ReleaseTEAM
body: Can you explain how you have granted them access? Maybe we can help you figure it out from there.

comments: author: Todd Neilson
body: Thanks. I figured it out. wrong URL. If you are editing it, Click Share and "Public URL" then publish and view it only shows the page. you have to use the external URL for the entire site.. which is NOT the public URL given to you.


Tags: cloud

confluence-cloud
Security configuration APIs
Asked by Stan _The Man_ Lee:

hello,

I am digging the documentation about Confluence cloud APIs and I see that there are Sites settings API, but I am not able to find any API to get/set the settings for "Security Configuration" -\> Security and Privacy, can you confirm is there is an API for it?

thanks,


Answers:
author: Stan _The Man_ Lee
body: hello, Neil,

thanks for the reply. We are building an internal solution to get the state of current Atlassian configuration and set our own policy via automation.

So you can confirm that this API is not supported? is there any plan to add it?

thanks


author: Neil
body: Hi [@Stan _The Man_ Lee](/t5/user/viewprofilepage/user-id/5457634) Welcome to the community! I don't believe those security configuration settings in the UI are available via the REST API (for either get or set operations). May I ask what your use case is?

comments: author: Stan _The Man_ Lee
body: hello, Neil,

thanks for the reply. We are building an internal solution to get the state of current Atlassian configuration and set our own policy via automation.

So you can confirm that this API is not supported? is there any plan to add it?


Tags: api

cloud

confluence-cloud
can't change some security configurations
Asked by Stan _The Man_ Lee:

hello,

I am trying some settings on a free atlassian cloud account and I noticed that:

1) captcha on login is not possible to disable

2) Secure administrator sessions is not possible to enable

3) is not possible to change the RSS configs

the point 1 and 2 if I tick the box and save, the change seems to not be saved and return back to the previous setting.

Is this a limitation of the free account or it is not possible to change these settings default anymore?

thanks


Answers:
author: Barbara Szczesniak
body: [@Stan _The Man_ Lee](/t5/user/viewprofilepage/user-id/5457634) The settings allowed on the Free plan are different than on other plans. You might want to start by reviewing these pages:

* <https://support.atlassian.com/confluence-cloud/docs/what-are-confluence-cloud-permissions-and-restrictions/>
* <https://support.atlassian.com/confluence-cloud/docs/get-started-as-confluence-cloud-administrator/>


Tags: cloud

confluence-cloud
Remove 'Last Updated' Info
Asked by Kathleen Griffin:

Is there a way to remove the 'Last Updated' info from a page (or at least for those not logged into Confluence and/or able to edit the page)?

The last posted answer I see on this topic is from 2018.

Thanks


Answers:
author: Valerie Knapp
body: Hi [@Kathleen Griffin](/t5/user/viewprofilepage/user-id/5457542) , welcome to the community and thanks for your question.

Please see this similar question from another user - [https://community.atlassian.com/t5/Confluence-questions/How-to-remove-the-Owned-and-Last-updated-by/qaq-p/2524183.](https://community.atlassian.com/t5/Confluence-questions/How-to-remove-the-Owned-and-Last-updated-by/qaq-p/2524183)

As Andy explains the 'last updated' is an attribute of the page.

You can suppress / hide this information with marketplace apps like Refined, but this is associated with a cost (and other benefits).

You can check out the listing here - [https://marketplace.atlassian.com/apps/1221322/refined-for-confluence-cloud?hosting=cloud\&tab=overview](https://marketplace.atlassian.com/apps/1221322/refined-for-confluence-cloud?hosting=cloud&tab=overview)

Hope this helps.

Cheers


Tags: cloud

confluence-cloud
How to show percent complete of issues within an Epic on Dashboard
Asked by Charlene Freeman:

Can some one please let me know how I can create a dashboard gadget or a report to show percent complete of all issues within an Epic? I can see the Epic burndown report, but it only shows number of issues and not percent complete. Can % complete be added to this report?

Thank you,

Charlene Freeman

Corpay


Answers:
author: Shawn Doyle - ReleaseTEAM
body: If you search the community this has been asked several times. While there is no 100% complete answer or easy solution, there are many suggestions that might work for you.

The following thread seems to be the most complete:

<https://community.atlassian.com/t5/Jira-Software-questions/How-to-show-on-dashboard-the-completion-progress-of-an-epic/qaq-p/1882884>

comments: author: Charlene Freeman
body: Thank you so much!


Tags: cloud

confluence-cloud
after upgrade to 8.8 from 8.7 getting "System Error" when logging in + other issues
Asked by Patricia Bascom:

We recently upgraded from 8.7 to 8.8.0, since then we have been getting Mutiple issues in the system

1. after login "Something's gone wrong, Try again later"

2. trying to run log analyzer getting "Error! Scan Failed"

3. Users are seeing "Error rendering macro 'recently-updated'"

We did the rebuild the content index directions and that didn't fix it.

Notes:

This is happening on all systems that were upgraded. I can send the support zip from my development system.

We did an upgrade to 8.8.1 and that didn't fix the issue.


Answers:
author: Shawn Doyle - ReleaseTEAM
body: Best to enter an official support ticket here: <https://jira.atlassian.com/projects/CONFSERVER/issues>

However, you may have an unsupported addon that you need to remove to get Confluence to start up again. I'd revert a server to 8.7 and take a look at the addons.

comments: author: Patricia Bascom
body: Thank you, I opened a support ticket, I will look at the two add-ons we have and see if there are newer versions.


Tags: confluence-server

server
How to get the users having access to an unrestricted page?
Asked by Himanshi Badgali:

I am looking for a suitable confluence REST API to get all the users having access to an unrestricted page.


Answers:
author: Shawn Doyle - ReleaseTEAM
body: If you look at the content properties you can get the list of groups/users that can view the page. API doc below:

<https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-properties/#api-group-content-properties>

If you need to expand the groups into users:

<https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-group/#api-wiki-rest-api-group-member-get>

If there were restrictions, I know you said w/o restrictions, this would be what you'd want to look at, REST API wrt getting restrictions is here:

<https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-restrictions/#api-wiki-rest-api-content-id-restriction-get>


Tags: cloud

confluence-cloud
Reference to page title inside a page
Asked by Meera.Amanullah:

Hi,

I want to populate my confluence page title partially inside a table within the same page. Is there a macro or other way to do it? I have attached the image explaining the scenario, where 1 indicates the page title and 2 indicates the location, where I need it to be auto populated using a macro or other way.![Confluence title.png](/t5/image/serverpage/image-id/313306i32856125393853C6/image-size/large?v=v2&px=999 "Confluence title.png")

Please advise.

Thank you


Answers:
author: Stiltsoft support
body: Hi [@Meera.Amanullah](/t5/user/viewprofilepage/user-id/5198768) ,

If you have the [Table Filter, Charts \& Spreadsheets for Confluence](https://marketplace.atlassian.com/apps/27447/table-filter-charts-spreadsheets-for-confluence?hosting=datacenter&tab=overview&utm_source=atl_community&utm_medium=answer&utm_campaign=table-filter-traffic-sources&utm_vendorID=1216111) app installed for your instance (that is our add-on), its [Table Transformer](https://docs.stiltsoft.com/tfac/dc-server/how-to-use-table-transformer-macro-42241552.html?utm_source=atl_community&utm_medium=answer&utm_campaign=table-filter-traffic-sources&utm_vendorID=1216111) macro allows you to use a @PAGETITLE variable and create an additional column in your source table where all the cells will contain the Page Title of the current page.

Furthermore, this Page Title can be modified (for example, we can leave only the first part as is shown on the screenshot).

comments: author: Meera.Amanullah
body: Hi [@Stiltsoft support](/t5/user/viewprofilepage/user-id/5062270) ,

Thanks for the quick response. We are not using the [Table Filter, Charts \& Spreadsheets for Confluence](https://marketplace.atlassian.com/apps/27447/table-filter-charts-spreadsheets-for-confluence?hosting=datacenter&tab=overview&utm_source=atl_community&utm_medium=answer&utm_campaign=table-filter-traffic-sources&utm_vendorID=1216111) app at the moment. Will check other options and if I dont find any will try your add-on after discussing the team.

Thank you.


author: Roma Bubyakin
body: Hello [@Meera.Amanullah](/t5/user/viewprofilepage/user-id/5198768)

You can use our "[Page Information macro](https://marketplace.atlassian.com/apps/1227388/page-information-macro?hosting=cloud&tab=overview)" app for such simple use cases.

Or if you want to add logic, styling, processing, etc. pls look into a more complex solution: "[User Macro for Confluence Cloud".](https://marketplace.atlassian.com/apps/1232013/user-macro-for-confluence-cloud?hosting=cloud&tab=overview)

Regards,  
Roman, Wombats Corp CEO

comments: author: Meera.Amanullah
body: [@Roma Bubyakin](/t5/user/viewprofilepage/user-id/299873) Thanks for the suggestion.

We, have the requirement changed from partial to full title. Hence I'm using the Confluence pageinfo macro, which is serves the purpose.

Regards,

Meera


Tags: confluence-data-center

data-center

filter

table

table-filter

table-filter-and-charts

table-filter-charts-spreadsheets

table-transformer