youngmon/atlassian-qna huggingface dataset:
How do I commit new files to Git using SourceTree?
Asked by djjay0131:

We use Visual Studio, and currently when we add new files to the project we cannot get them to show up in SourceTree in order to commit and push. Can you please provide some guidance on the best way to use Git/BitBucket/SourceTree with Visual Studio?


Answers:
author: djjay0131
body: After some testing, it seems to me the best option is to use VS 2012 and install the Git plugin. Add new files and commit in VS and then move back to source tree to push and make a pull request. I'd still love more comments or feedback from others though!


author: KieranA
body: Hey Jason,

Perhaps this is because your filters weren't set up correctly? When looking at the 'Working copy' there's a filter next to the search box that'll say something like "Show pending". You'll want to make sure this filter is set to something that'll pick the files up when they're newly added.

Hope that helps


author: Bruce_Calvert
body: In Source Tree, the "Unstaged files" display should show any new files that you have moved into the source directories. You may have to do some scrolling to find them because the directories are not in alphabetical order. When you find the file(s), select them and then right-click and choose "Add". Now they are staged and you can commit and push them as if they already existed in the project.
Repository Type: This is not a valid source path / URL
Asked by Zach Russell:

I cannot add repositories to Sourcetree on Windows. This includes opening local repositories (existing) as well as remote repositoreis from Github and Bitbucket. When I try to get more info, a blank popup window appears. I don't know what is going on but I essentally can't use sourcetree on windows.

Other notes: I used cygwin to create the local repository, though I doubt it makes a difference.

Thanks in advance from your help


Answers:
author: Jeff Thomas
body: Hi Zach,

This could be related to the version of Git that SourceTree is using. You can check that with Tools \> Options \> Git and should see the version used at the bottom of the window. Which version of Git are you using and is it the embedded or system Git?

Try updating the embedded Git version and using it.

comments: author: srcontreras
body: Solved my problem..thanks


author: Sean Newell
body: Windows 10, using Bitbucket Server. I believe my root cause was during the install of SourceTree 2.1.2.5 it failed to unzip PortableGit.7z, even though I have 7-Zip installed and 7z file type association. Resolution was to copy git_local (includes git executables) from a coworker to C:\\Users\\\<me\>\\AppData\\Local\\Atlassian\\SourceTree\\git_local, and that allowed me to enable **Tools-\>Options-\>Git** "Use Embedded Git". This resolved the invalid URL error, though I have no idea how the average user with this unzip failure would find the necessary files.

Separately I also had to do this workaround to allow Bitbucket to open SourceTree:

1. In the SourceTree menu select **Tools-\>Options**
2. On the **General** tab, towards the top, I un-checked and then re-checked the "Use this version of SourceTree for URI association" checkbox (You need to do this step **even if** the checkbox is checked already.) Click OK

This workaround allows Clone in SourceTree to work in Bitbucket.


Tags: windows
Will Sourcetree embedded git conflict with other git installs?
Asked by Steve Kissh:

I installed Sourcetree with embbeded git. Now I'm taking the Bitbucket 101 tutorial that wants me to install git. Is there a problem or advantage of having both gits?


Answers:
author: KieranA
body: Hey Steve,

You can have both installed if you wish. The benefits are:

1. You'll be able to use Git on the terminal (you could probably do this with SourceTree's embedded Git but you'd have to put it on your PATH and perhaps some other manual configuring)
2. If you mess up your local Git install SourceTree would be unaffected provided you're using embedded.
3. If you want to use a more recent version of Git, then this is where using system Git comes in handy, for example if Git were having performance problems in an older version with some feature that SourceTree uses, then using an updated system Git version may resolve this.

So there are advantages based on your needs, but there's no problem with having both at all. SourceTree's Git install is completely self contained so wouldn't be affected.

Cheers
Change name displayed for repo in SourceTree on Windows's tabs
Asked by oompaloompadiapers:

How can I change the name ***displayed*** for a repo in SourceTree's tabs?

Note that I don't want to change the actual repo's name. This isn't a git question; I just want to display what **SourceTree** shows me in its tabs.

EDIT: Sorry, yes, Windows.


Answers:
author: Jeff Thomas
body: You can right-click on the bookmark and select **Rename**.

![](../../upfiles/Screen_Shot_2013-12-09_at_11.39.33_AM.png)

comments: author: oompaloompadiapers
body: Funny you should say that; I right-clicked enough on the tab before asking to feel like an idiot, coming back after I looked through the menu options again, as if if I did it enough, it'd finally work. No luck on Windows.


author: Jeff Thomas
body: Are you right-clicking on the bookmark or the tab? You should be using the bookmark on the left. Hopefully the screenshot below helps.

![](../../upfiles/Screen_Shot_2013-12-09_at_1.04.09_PM.png)


author: oompaloompadiapers
body: Money. Thanks. The width of my bookmarks sidebar had been set to essentially zero, and I stupidly figured Windows didn't have the Mac's bookmark "window". Much better.


author: Gerrit Brouwer
body: Same here. Dragging the (almost hidden) leftmost border reveals the bookmarks pane. Took me some time to find out...


author: Dhananjay_Kumar
body: Its quite simple (renaming a tab/tabs). Please refer to the attached screenshot. Note that my Sourcetree version is 2.4.8.0 (when the screenshot was taken).

But just in case the attached screenshot is not accessible - Open new tab in Sourcetree. In the "New Tab", one should see the list of existing repos/tabs. Right click on a tab, and one should see a Rename option.

![Rename Tab in Sourcetree 2.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/18814iBE0F45CEE9FFD0D9/image-size/large?v=v2&px=999 "Rename Tab in Sourcetree 2.jpg")


author: EdG
body: This could be a version issue. I just got a new computer and downloaded windows ver 3.4.15, and could not rename the tabs/bookmarks, whatever I tried. I installed archive version 3.4.11 and it immediately picked up the changed bookmark names.

comments: author: EdG
body: In fact, in 3.4.11 if you rename the bookmark, it reflects in the tab immediately without any need to restart.


author: ruisilva
body: When the Bookmark Sidebar is pinned, I can't rename a tab that's inside a folder.  
Only the root level ones get to be editable.

<br />

The workaround is to it the ? sign to add a tab and rename on that screen


author: Peter Meijering
body: In Windows select 'Toggle Bookmarks Sidebar (Ctrl-B)' from the 'View' menu, then change the name.

Also note that the change is not visible immediately, you'll need to restart SourceTree to see the name actually being changed on the tab.


Tags: windows
Intraline diffs with SourceTree
Asked by Joel Shapiro:

I like SourceTree and I use it with git.

I need to see intra-line diffs, i.e., diffs within a line. Currently, SourceTree only shows that the whole line has changed via a new line/removed line diff, which is not useful to me.

For example, if I change

Here is a bit of text.

to

Here is a lot of text.

the diff shown by SourceTree is

- Here is a bit of text.

+ Here is a lot of text.

That is not useful to me. I want the diff to highlight just (or also) the highlighted words within the line as in:

- Here is a \*bit\* of text.

+ Here is a \*lot\* of text.

I've used \* to indicate highlighting of some sort (e.g. color or bold).

How do I turn this on or when can you add this to your product?

I am using SourceTree 1.7.4.1 on OS X 10.8.5 and git 1.8.3.4. SourceTree is setup with default options, which means that the visual diff tool is FileMerge.

Thanks!


Answers:
author: Timothy
body: You might want to raise a feature request here (<https://jira.atlassian.com/issues/?jql=project%20in%20(SRCTREE%2C%20SRCTREEWIN)>).

I also resorted to getting an external tool that would do that.

comments: author: Joel Shapiro
body: Thanks Timothy. Which external tool are you using and does it work on OS X?


Tags: diff

git
how can i configure source tree to ignore the inner folder structure of new iWorks files (Keynote etc..)
Asked by shahar meir:

The file structure for the recent release of iWorks (that was released with OSx Mavrics) is a package structue. the source tree is identifing that as folder so each small change in the iWorks file is recorded as a change in some inner file inside the package. Can you configure the source tree to ignore the inner structure and treat it as a single file (the same was as the OSx Finder is dealing with that) ?


Answers:
author: Steve Huckle
body: Did you figure it out?


Tags: mac
SourceTree: Unreadable colours in log/history view
Asked by kriegaex:

One of my Scrum team members has a weird problem on a Win7 Pro machine. With a default Win7 Aero theme which does not cause any problems on identical other workstations in our team, his SourceTree shows colours like white on white in the log view:

![](../../upfiles/sourcetree_colours.png)

Uninstalling (without trying to manually remove anything from registry or file system) and reinstalling the latest version did not help at all.

How can we fix that?


Answers:
author: kriegaex
body: Bingo! :))) Actually .NET Framework version 4.5 seems to be good enough, my colleague's version was 4.5 Beta. After has he installed the final version, the colors look alright. Thank you so much. I just wish the answer had not taken two months.


author: Grigory Kislov
body: You must install Microsoft .NET Framework 4.5.1 RC to avoid color glitches.


author: Jeff Thomas
body: Hi Alexander,

Could he possibly have some custom window and text coloring?

Start \> Control Panel \> Search for "color" \> select **Change window color and metrics**

Below is a screenshot of what mine looks like.

![](../../upfiles/Screen_Shot_2013-12-09_at_11.52.29_AM.png)

comments: author: kriegaex
body: I just returned to office after a business trip. Yes, the colours look the same on my colleague's PC. What else can we do? Does SourceTree store any colour-related data in the registry or anywhere else in config files?
Need creating a confluence license for developer, but any option appears
Asked by Ainhoa Hern?ndez Navas:

Need creating a confluence license for developer, but any option appears.

I have read that you can downloaded from license an option "view licence for developer" but it doesn't appear for my confluence licence. Do you know what is the cause? maybe my role user?

Thanks in advance.

best regards.


Answers:
author: Thomas Schlegel
body: Hi [@Ainhoa Hern?ndez Navas](/t5/user/viewprofilepage/user-id/5251708) ,

go to my.atlassian.com and login with your account. Then you should see your existing licences.

Click on your Confluene license and then you should see:

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

Click on "View Developer License" - There you can get a developer license for your existing productive license.

Best,

Thomas

comments: author: Ainhoa Hern?ndez Navas
body: Hello Thomas

This option doesn't appear.

Thanks.

Best regards.


author: Thomas Schlegel
body: Maybe you have a type of license which does not include a developer license. You can read more here: <https://confluence.atlassian.com/confkb/how-to-get-a-confluence-developer-license-152044449.html>


Tags: confluence-server

server
Content analytics
Asked by Aswathi D:

Hi

In confluence there is a functionality analytics where I can see when users have viewed the last version

But as marked below I can't see the username of the users.. instead I see something like as marked ..why it is like that ?

![IMG_20230623_165601.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/264754iC51B2A85E75DE5BB/image-size/large?v=v2&px=999 "IMG_20230623_165601.jpg")


Answers:
author: Prabhu Palanisamy _Onward_
body: Hi - Were you able to solve this? I have a similar requirement. Thank you.


Tags: confluence-server

server
To fetch version number of Confluence page
Asked by Arya Soman:

Hi Team,

Is there any way to fetch the version number of Confluence page.

Thank You!  
Reagards,  
Arya


Answers:
author: Dan Breyen
body: Hi Arya, I found an older Community Post that seems to have the information you're looking for . Check it out: [Current Version](https://community.atlassian.com/t5/Confluence-questions/how-can-i-show-the-current-version-of-a-page/qaq-p/1041647)

Hope that helps

comments: author: Arya Soman
body: Hi Dan,  
Our exact requirement is, In jira we have an Automation to create Confluence page whenever jira issue got created. Now we want the update the Confluence page when jira issue status changes. Currently we are trying the update the page using the below custom body:  
{  
"id":"294060036",  
"type":"page",  
"title":"Confluence Testing",  
"space":{"key":"DEV"},  
"body":{  
"storage":{"value":  
"\<p\>This is the updated text for the new page\</p\>",  
"representation":"storage"}  
},  
"version":{"number":2}}  
Here in the custom body we are manually giving the version number.  
While updating the page, each time the version number of the page is getting changed. Is there any way to fetch the version number of the page from jira Automation.


Tags: confluence-server

server
draw.io timeout when saving file with inserted diagrams
Asked by Allan Smeyatsky:

draw.io timeout when saving file with inserted diagrams

Hello, just today, I have noticed an error in draw.io. If I insert a picture, it will not allow me to save the main diagram. This is problematic as not all icons are available and importing pictures is vital to make a complete diagram


Answers:
author: Marija Radovic
body: Hi,

Could you please submit all the details with your drawio SEN to to <https://drawio.atlassian.net/servicedesk/customer/portal/14/group/15/create/49>?

Thanks,


author: Allan Smeyatsky
body: Actually now it is not saving, even without inserted diagram. There must be a back end problem


Tags: cloud

confluence-cloud
Columns to show in page properties report
Asked by Urs Bernet:

If I add columns to a page properties report, it works fine, except for one column.

The status column is not displayed because the title has a link behind it. How can I include this column.

![page properties.png](/t5/image/serverpage/image-id/264720iB45277B201B93801/image-size/large?v=v2&px=999 "page properties.png")


Answers:
author: Stiltsoft support
body: Hi [@Urs Bernet](/t5/user/viewprofilepage/user-id/5251648) ,

If you have the app that we develop installed (it's [Table Filter and Chart for Confluence](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?tab=overview&hosting=datacenter&utm_source=atl_community&utm_medium=answer&utm_campaign=table-filter-traffic-sources&utm_vendorID=1216111) app), you may try the Table Excerpt/Table Excerpt Include macros. They work similar to the standard Page Properties/Page Properties Report macros.

Otherwise, you may try to keep this link somewhere outside of the Page Properties macro and collect it via Excerpt/Excerpt Include macros.

comments: author: Urs Bernet
body: Thank you. Since we don't have the Table Filter app, I guess that we have to eliminate the link in the page property.


Tags: confluence-server

filter

ms-excel

server

table
No display Edit button in confluence page which is created automatically by API from Jira software
Asked by sao bien:

Hi All,

I have a problem in below situation:

1. Postfunction in Jira Software using API to create new page in Confluence using API

2. New page is created sucessfully in Confluence, but Edit button is not display

3. I have to perform rebuid index from Admin funtion in Confluence, then Edit button can be display in New Page

Could any body have any exprience like my case? I have to index manually daily for all automatic pages which are created from Jira software to display Edit button right now. It is not inconveniently.

Thank you,

SAM


Answers:
author: Andrii Maliuta
body: Hello [@sao bien](/t5/user/viewprofilepage/user-id/3312860) ,

Usually, if some data is not present for newly created entities and reindex solves this, this can mean that there is issue with performance or index queue so that Jira/Confluence cannot handle the data in time quickly.

As a workaround, you can use the Job or script to manually reindex just the page/issue you need with Java SDK so that it takes less time not to reindex all the data.

<https://docs.atlassian.com/ConfluenceServer/javadoc/7.20.0/com/atlassian/confluence/internal/index/lucene/FullReindexManager.html>

<https://docs.atlassian.com/ConfluenceServer/javadoc/7.20.0/com/atlassian/confluence/search/lucene/ConfluenceIndexManager.html>

Thank you

comments: author: sao bien
body: Thanks Andrii Maliuta,

But I still not clear about your solution. Now I am having post script in groovy in Jira software to create new page which based on confluence API to create new page. How to add code for indexing after creating new page?

you suggest me to create new script in java to reindex data in confluence?

Best regards,

SAM


Tags: confluence-server

server
Getting PageId from a Confluence Search result
Asked by Normann P_ Nielsen _Netic_:

Refering to :

<https://developer.atlassian.com/server/confluence/searching-using-the-v2-search-api/>

Using

searchResults.each { thePage -\>

pageId = thePage.getIdAsString()

pageName = thePage.getDisplayTitle()

---------

How do I get Page Id - I have tried:

.getId()

.getPageId()

.getEntityId()

.getIdAsString()

.getFieldValue("pageId")

.getFieldValue("Id")

No luck....

There no clue (for me) at <https://docs.atlassian.com/atlassian-confluence/6.2.1/com/atlassian/confluence/search/v2/SearchResult.html>


Answers:
author: Normann P_ Nielsen _Netic_
body: I found the answer here:

<https://moduscreate.com/blog/confluence-scriptrunner-and-impersonation/>

pageId = thePage.handle.id

or

pageId = thePage.getHandle().getId()


Tags: confluence-server

server
Conluence Space page [ how to make Confluence page public ]
Asked by Marc Evans:

Hi Team,

How do I un-restrict my space that has multiple pages available for everyone in the org to view, I tried all of the possible aspects in unrestricting the space but it seems it cant be publicly available can someone help me please?


Answers:
author: Manoj Gangwar
body: You can grant permission to Anonymous users. Please refer to the below link.

<https://support.atlassian.com/confluence-cloud/docs/set-up-public-access/>

OR

You can invite a user as a Guest and grant them access to one and only one Confluence Space at a time. Guests do not consume a license. For more information refer to

<https://community.atlassian.com/t5/Confluence-articles/Roll-out-the-welcome-mat-guests-are-available-in-Confluence/ba-p/2171854>

comments: author: Marc Evans
body: Anonymous user works! thank you so much your an angel!


Tags: cloud

confluence-cloud
Exclude certain title lines in TOC macros
Asked by Maximilian Riedl:

In my pages I use a lot of nested/hidden information.

Picture the following: I use the "expand" marco to hide away text by default and within this macro I use the "Multiexcept Include" to import additional information

Now I don't want all of the title lines imported with the "Multiexcept Include" macro to appear with the "TOC" macro (as they are additional/not strictly needed information) but they do anyway.

Is there a way to tell the "TOC" marco to only show title lines which are actually written in the current page or do I need to set up my TOC manually?


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Maximilian Riedl](/t5/user/viewprofilepage/user-id/5251481) ,

for my knowledge, you can' exclude specific line from TOC.

Fabio

comments: author: Maximilian Riedl
body: Hello [@Fabio Racobaldo _Herzum_](/t5/user/viewprofilepage/user-id/781528) Thank you very much for your answer. I was afraid that this would be the case. The options gave me no indication that my question is possible. I just hoped that there was a cheeky way to do this with regex or maybe a different marco altogether which would do the trick.


Tags: confluence-server

server
Unable to edit https://confluence.qualcomm.com/confluence/display/MIT/Camano+TAS
Asked by Srinivas Reddy Annem:

need quick help.

Unable to edit this page <https://confluence.qualcomm.com/confluence/display/MIT/Camano+TAS>


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Srinivas Reddy Annem](/t5/user/viewprofilepage/user-id/5251484) and welcome,

you need to ask within your company. Please try the request access feature :

### Request access {#toc-hId-2034861684}

To request access to a restricted page:

1. On the restricted page choose **Request access**.
2. Confluence will send an email to up to 5 people most likely to be able to grant you access.
3. Wait for an email confirming that access has been granted.

![](https://confluence.atlassian.com/doc/files/139414/947169190/1/1521512580138/RequestSentMultiple.png)

Hope this helps,

Fabio


Tags: confluence-server

server
Does Confluence cloud search leverage labels if you don't use the label filter function?
Asked by Sara Tucker:

Trying to figure out if the search results on confluence cloud are impacted by the labels that are used on a page even if you don't use the filter function for looking for specific labels. Do the results change if you run a basic text search with a word/phrase that is in a label? Or do labels only impact search when you use the label filter function?


Answers:
author: Dan Breyen
body: I'm using Confluence for a Knowledge Base and when I search either in the Portal or in Confluence I don't have to put in a label filter to find an article with a particular label.

There's some more information here on labels in Confluence: [Confluence Labels](https://confluence.atlassian.com/doc/add-remove-and-search-for-labels-136419.html)

Hope that helps.


Tags: cloud

confluence-cloud

label

search