youngmon/atlassian-qna huggingface dataset:
how to compare two git tags in source tree
Asked by janardhan:

I am having GIT repository and I have requirement to compare two git tags using source tree without checkout code . Could you please help me with images step by step  
[](https://community.atlassian.com/t5/Sourcetree-questions/how-to-compare-two-git-tags-in-source-tree/qaq-p/224645?attachment-id=6525){#link_11694bb0b712d6}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/6556/1/Screen%20Shot%202016-04-08%20at%208.57.22%20AM.png){#display_11694bb0b712d6_0}


Answers:
author: Tim Crall
body: In SourceTree you can Control-click (or Command-click on a Mac) to select any two commits in the History View and it will display the diff between them.

Screen Shot 2016-04-05 at 9.22.45 AM.png  
[](https://community.atlassian.com/t5/Sourcetree-questions/how-to-compare-two-git-tags-in-source-tree/qaq-p/224645?attachment-id=12818){#link_11694bb6286b98}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/6559/1/Screen%20Shot%202016-04-05%20at%209.22.45%20AM.png){#display_11694bb6286b98_0}

comments: author: janardhan
body: I know the diff between two commits in source tree , I want difference between two tags using source tree , is there a way to check


author: Tim Crall
body: I don't quite understand. A tag is just a pointer to a commit. Can't you just select the two commits that the tags are pointing to?


author: Seth
body: Tags are just named commits. If you are having trouble finding the tags in the graph, you can expand the Tags section on the left, and click a tag name to jump to that location in the log.

Tim's answer is as close as you are going to get using the GUI. What you're looking for may be considered the type of obscure usage that is generally excluded from GUIs to avoid cluttering.


author: janardhan
body: Could you please show me the picture to compare two tags in source tree


author: Seth
body: It's the same as Tim's answer, except each of the selected commits will have a tag beside the description.


author: Tim Crall
body: Screen Shot 2016-04-08 at 8.57.22 AM.png


author: Seth
body: git diff TAG1 TAG2

You said you can't checkout code, but you need to have the repository cloned somewhere for git diff to work.

<https://git-scm.com/docs/git-diff>

comments: author: janardhan
body: Thank you for the answer, I know this command but I want to do through Source tree tool .


author: Johannes Kilian
body: What's the problem with checking out the code? If you currently have any uncommited changes in your sandbox (which you might not be able to commit yet for any reason), you could stash your changes temporarily - and check out the desired version, After comparison you might apply your stash again ...
SourceTree: not a valid source path / URL problem, missing DLLs
Asked by Christian:

Hi,

suddenly I have Problems accessing Repositories with SourceTree. Maybe it's caused by the latest Win10 Update cause everything worked fine before.

Maybe this Update is causing the Problem? Microsoft Visual C++ 2012 Update 4 Redistributable Package (KB3119142)

First of all I wasn't able to 'Fetch' - I got some 'DLL missing' warnings.

Than I reinstalled Sourcetree and tried to Clone my Repository again. But when I past in the correct URL, I get several "Missing file" warnings again:

error01.png

error02.png

error03.png

... ending in the Error message "This is not a valid source path / URL".

Details are initially:

error04.png

Now ererytime I try it again, there are no further DLL error Messages, but the "not a valid source path" warning with this Detail Dialog:

error05.png

I use Embedded Git and tried SourceTree 1.7.0 and also 1.8.3 - no difference.

It might also be an authentication Problem, but I'm not prompte for credentials anyway.

Can somebody help me out here please?

Regards,

Christian  
[](https://community.atlassian.com/t5/Sourcetree-questions/SourceTree-not-a-valid-source-path-URL-problem-missing-DLLs/qaq-p/384738?attachment-id=7302){#link_11694bf71258de}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/11435/1/error04.png){#display_11694bf71258de_0}  
[](https://community.atlassian.com/t5/Sourcetree-questions/SourceTree-not-a-valid-source-path-URL-problem-missing-DLLs/qaq-p/384738?attachment-id=7303){#link_11694bf71258de_0}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/11435/2/error05.png){#display_11694bf71258de_2}  
[](https://community.atlassian.com/t5/Sourcetree-questions/SourceTree-not-a-valid-source-path-URL-problem-missing-DLLs/qaq-p/384738?attachment-id=7304){#link_11694bf71258de_1}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/11435/3/error01.png){#display_11694bf71258de_4}  
[](https://community.atlassian.com/t5/Sourcetree-questions/SourceTree-not-a-valid-source-path-URL-problem-missing-DLLs/qaq-p/384738?attachment-id=7305){#link_11694bf71258de_2}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/11435/4/error03.png){#display_11694bf71258de_6}  
[](https://community.atlassian.com/t5/Sourcetree-questions/SourceTree-not-a-valid-source-path-URL-problem-missing-DLLs/qaq-p/384738?attachment-id=7306){#link_11694bf71258de_3}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/11435/5/error02.png){#display_11694bf71258de_8}


Answers:
author: Seth
body: Probably not an authentication problem. If you are missing dlls for libcurl and libssh, your git installation is probably completely unable to communicate to remote servers. Try hitting the Update Embedded Git, and see if that might repair your problem.

If not, you should install your own copy of Git ("System Git" to SourceTree), and go to a git forum if it has installation problems.

comments: author: Christian
body: Yes, indeed! With local installed Git (System Git) it's working fine again.

You saved my day - thanks a lot!!
How to drag repository tabs in sourcetree?
Asked by Maarten Thomassen:

Hello,

In old versions of Sorucetree i could rearrange the tabs at the top of the screen listing the names of the repositories i have open. Since version 1.8 (currently 1.8.2.11) i can't drag them anymore.

This is very annoying as at any given time i have 10 to 20 repositories active and i would like to arrange them propertly. Could you fix this in the next version and bring back the old functionality?

Thank you.


Answers:
author: Seth
body: No, we cannot fix it because we are just users like you. However, you can upvote and watch this bug report to help make sure the developers restore that functionality (I have already): <https://jira.atlassian.com/browse/SRCTREEWIN-4205>


author: Oleg Lukin
body: As a workaround you can edit %LOCALAPPDATA%\\Atlassian\\SourceTree\\opentabs.xml file and have your tabs in necessary order :smile: Not that it cancels the original problem which is a major nuisance
Hunk generate garbled characters
Asked by mhlvnx-fujisawa:

The code which includes comment in SJIS(Japanese) is good for displaying in diff window.

But once chose the block for hunk, the block will be broken and garbled characters on the staging window.

Is it possible to fix it by any setting or solution?

broken.png  
[](https://community.atlassian.com/t5/Sourcetree-questions/Hunk-generate-garbled-characters/qaq-p/426044?attachment-id=2699){#link_11694c1f00731d}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/12727/1/broken.png){#display_11694c1f00731d_0}  
[](https://community.atlassian.com/t5/Sourcetree-questions/Hunk-generate-garbled-characters/qaq-p/426044?attachment-id=2700){#link_11694c1f00731d_0}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/12727/2/image2016-5-12%207%3A58%3A12.png){#display_11694c1f00731d_2}


Answers:
author: Seth
body: It's probably a bug, You should report it at jira.atlassian.com, along with a screenshot of a program that is displaying the comment properly.

comments: author: mhlvnx-fujisawa
body: Thanks for your suggestion.

I am temporarily using SmartGit only to do hunk. I will report the phenomenon at jira.atlassian.com.


author: Seth
body: @yo ko - Why would you comment "+1" when there is a button you can use to actually increase the question's vote by one?

image2016-5-12 7:58:12.png


author: pokkur
body: +1


Tags: hunk
How Do You Clone a Different Branch
Asked by Taylor Jentzsch:

Once I updated SourceTree to v2.2.3 and 2.2.4, I no longer have the ability to clone another branch other than a default/master.

When clicking "Clone" \> "Clone a Repository" popup displays \> Expand "Advanced Options" dropdown \> This location used to let you select a different branch, It is now empty.

Is this a bug? or have these options moved? How can I clone a different branch?


Answers:
author: Taylor Jentzsch
body: Once mentioned that, I found were to do it.  
Main Menu \> Repository \> Checkout... \> Checkout New Branch tab \> then select the branch

Thank you.  
It was killing me trying to find where to do that. In part, I think my terminology is wonky. I was looking for new branch or clone. Not Checkout.


author: Seth
body: It's just a workaround, but you can clone master, then checkout whatever other branch you want.
After updating, sourcetree repository type not valid
Asked by Celeste Glavin:

I recently updated my SourceTree on Windows and was getting an error that the path was invalid. I tried to clone the repository again and when I directed to the Bitbucket path

Repository Type: This is not a valid source path / URL

When I click Details...

System.ComponentModel.Win32Exception: The system cannot find the specified  
hg: parse error at C:\\Users\\XXXX\\AppData\\Local\\Atlassian\\SourceTree\\hgrc_sourcetree:1:

remote: Not Found

fatal: respository 'https://xxxxxxxx@bitbucket.org/xxx/xxx/' not found

<br />

-- The xx's are blocked out, but they are properly linked.

I'm unsure what happened. Can anyone help?


Answers:
author: Celeste Glavin
body: I've also updated both Git and Mercurial under Tools \> Options

The file paths are different than the one above for the ignore files... Does this have anything to do with it?

Is it possible for me to start from scratch? Uninstall and reinstall Sourcetree? Would that mess anything up?
Landing Page Slow Loading with Console Errors and Warnings, Please Help
Asked by Danielle Prey:

I recently updated our home/landing page and I am now experiencing slow loading (5-7 seconds) and a console errors and warnings.

I did switch to the "newer" page layout and removed all existing content and marcos to start fresh. The only new marcos I added was a search bar.

Issues:

* Several of my headers are showing the "copy link to heading".
  * Is there a way to remove links from the headers? I already tried unformatting and removing the text.
* I am getting a lot of 404 and 409 - failed to load resource -errors on the page.
  * Other than slow loading everything seems to be working fine. Images look good and links are going to other articles.
* I am getting warning with messages like:
  * Fragment with name XXX already exists"
  * Failed to load source map: Could not load content
  * The resource XXX was preloaded using link prepload but not used within a few seconds from the window load

Overall,*I think* my issues is from the copy and paste I did with images and content from the original published article and from other articles, but not sure. Has anyone experienced this or know a way I can resolve this?

Here are some examples of what I'm seeing:

```
overview:1 The resource https://marcomcentral.atlassian.net/wiki/spaces/MCC/441.qOiSldjdjdj.js was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
```

```
?tti-polyfill.js:4 GET https://marcomcentral.atlassian.net/gateway/api/watermelon/workspace/exists?cloudId=e3596e50-ecf2-4b41-8062-e1d2d1d3173f net::ERR_ABORTED 404
```

```
?tti-polyfill.js:4 POST https://marcomcentral.atlassian.net/gateway/api/engage-targeting/api/v2/user/messages/cc-darkmode-changeboarding-spotlight/start 409
```


Answers:
author: marc -Collabello--Phase Locked-
body: Hi [@Danielle Prey](/t5/user/viewprofilepage/user-id/5316790) ,

At least the last two errors:

```
tti-polyfill.js:4 GET https://marcomcentral.atlassian.net/gateway/api/watermelon/workspace/exists?cloudId=e3596e50-ecf2-4b41-8062-e1d2d1d3173f net::ERR_ABORTED 404
```

```
?tti-polyfill.js:4 POST https://marcomcentral.atlassian.net/gateway/api/engage-targeting/api/v2/user/messages/cc-darkmode-changeboarding-spotlight/start 409
```

are common occurrences in multiple Confluence installations. We see them also, and Atlassian seems not to care.

comments: author: Danielle Prey
body: [@marc -Collabello--Phase Locked-](/t5/user/viewprofilepage/user-id/1205132) thank you!

That helps quite a bit. I was going nuts trying to search for an answer to those errors. I'll move forward and ignore.

On some of my text, I did a simple update back to "Normal Text" and re-added links, which seems to have resolved 80% of those warnings (who knew). The page is loading a bit faster now.

Thanks again.


Tags: cloud

confluence-cloud
Can I edit the contents of email notifications through the UI/Admin settings?
Asked by PR23:

Due to security protocols here, we would much prefer that user notification emails don't contain the contents of the changes/comments. What I would like is for the email to just let a user know that there is a new comment/change and a link to the Confluence page. I am hoping this can be done through the UI.

Thanks


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

unfortunately you can not do that using builtin capabilities. Please take a look to the following how-to guide <https://confluence.atlassian.com/doc/customizing-email-templates-168001822.html>

Hope this clarifies,

Fabio

comments: author: PR23
body: Thanks, yeah I saw that, but was hoping there was a way to do it through the UI.


Tags: confluence-server

server
Image preview unavailable after url change
Asked by Lynn van Dooren:

Hello community,

Recently we changed our atlassian cloud url to a different name.

Today we noticed on one of our Confluence Space that the images are now not displaying anymore. We think this happend because or the url from the images not being changed correctly.

We can't manually update the images because that would mean we would lose data and it would cost a lot of time.

Is it possible for us to also update the images url somewhere in atlassian or did anyone have a similar problem?

![Schermafbeelding 2023-09-15 om 13.16.18.png](https://community.atlassian.com/t5/image/serverpage/image-id/280883iF98603A0C3DF0288/image-size/large?v=v2&px=999 "Schermafbeelding 2023-09-15 om 13.16.18.png")


Answers:
author: Dan Breyen
body: Hi Lynn, I didn't find any known issues on Atlassian's Jira site (jira.atlassian.com) but that doesn't mean it's an issue. That's a good find. I think that URL change is a relatively new feature, it might be worth asking support about. I'd certainly want the URLs to work. I know there is a migration step to fix the Confluence links after a migration, but I don't know if that would help in this situation or not. That's probably a good question for support (support.atlassian.com/contact).

Might be worth asking there.

Hope that helps.


Tags: cloud

confluence-cloud
How to keep URLs after migration?
Asked by Jesper:

We are in the process of migrating all our Atlassian server products to cloud.

We use Confluence quite a lot and also have a public space where we link to pages from multiple places.   
One idea was using DNS. but after trying to migrate the space we can see the URLs now include a unique pageID for all pages.

This would make it nearly impossible to remap the URLs.

I'm presuming we aren't the only ones linking to specific pages, in tutorials, email, etc.  
How have you solved this issue?


Answers:
author: Chris Matkaris
body: Hello! Maybe that helps?  
<https://community.atlassian.com/t5/Atlassian-Migration-Program/Don-t-Let-Your-Users-End-up-in-a-Dead-End/ba-p/2508545>


author: Amelie Winkler _Appfire_
body: Hi, [@Jesper](/t5/user/viewprofilepage/user-id/5290362) Amelie from the Appfire team here!

That's a tricky one! We recently had a customer struggling with a similar challenge, and they used our marketplace app, Power Scripts, to fix their broken Confluence links after migrating.  

Here's a demo of how you can update those Confluence links at once using Power Scripts: <https://youtu.be/F82-6z5hdRw?t=967>   

If you need help building the concrete automation, our amazing [support team](https://appfire.atlassian.net/servicedesk/customer/portal/11?utm_source=organic&utm_medium=atl-community&utm_campaign=engagement) is happy to help you along the way!

comments: author: Trudy Claspill
body: That demo addresses updating links to Confluence that are within Jira.

How does that help with updating links to Confluence when those links are embedded in other places rather than Jira?


author: Amelie Winkler _Appfire_
body: Hi, [@Trudy Claspill](/t5/user/viewprofilepage/user-id/3569011) -- I see, thanks for clarifying.  
You're right, when the links are embedded in places other than Jira, it's a bit more complicated.

In that case, there's no straightforward solution. One thing you could do is create an auto-redirect of those old Confluence pages to their new equivalent (and let automation do the lookup for what the new link should be). However, this basically only buys you time to fix links manually (and it requires you to keep the old Confluence up for a while).


author: Jesper
body: Yeah, that has also been our conclusion.  
Make a list of all our deep links and then manually fix them :(

But thanks for the input


author: kmkmkmkmkmkm
body: Changing links in chatlogs is impossible :/


Tags: cloud

confluence-cloud
Automation for cloud
Asked by Ntamen kamogne harry Michel:

I want a rule that allows you to copy content from one page to another please


Answers:
author: Andrii Maliuta
body: Hello [@Ntamen kamogne harry Michel](/t5/user/viewprofilepage/user-id/5015535) ,

Just as a thought, if it is the aim to somehow combile parts of content, it can be btter to think of macros use like '**Page Include** ' or '**Excerpt/Excerp Include**', etc. to create some dynamic content, as it can be an issue to duplicate just content in Confluence :)

But if speaking technically, you can use self-made automation via REST API: like

* checking the page and creating a new one by copying its content
* use of Webhooks to be triggered on the necessary event
* create Forge addon based on Events
* install ScriptRunner ([https://marketplace.atlassian.com/apps/1215215/scriptrunner-for-confluence?hosting=cloud\&tab=overview](https://marketplace.atlassian.com/apps/1215215/scriptrunner-for-confluence?hosting=cloud&tab=overview)) and add Listener for such actions

comments: author: Ntamen kamogne harry Michel
body: thank's for this sharing


Tags: cloud

confluence-cloud
How to make group of users to give combine access to a page?
Asked by Niharika X:

How to make group of users to give combine access to a page?


Answers:
author: Ivan Lima
body: Welcome to the Atlassian Community.

Permissions can be tricky, and given the levels of permissions in Confluence, you need to ensure that each level is appropriately set up. In your case, you need to ensure the groups have the proper space permissions and page restrictions. Have a look at <https://support.atlassian.com/confluence-cloud/docs/what-are-confluence-cloud-permissions-and-restrictions/>, which will guide you to understand how permissions interact with each other.


Tags: cloud

confluence-cloud
Disable drag and drop on certain confluence pages
Asked by frithjof falck:

Does anyone have som jquery code to prevent this from happening? I want to prevent the page from reloading if a user accidentally drags and drops a file on the page in view mode.

The code will be injected through a user macro.


Answers:
author: frithjof falck
body: Found an easier solution using pure CSS:

img {  
pointer-events: none  
}


Tags: confluence-server

server
Unable to login
Asked by Komal Baranwal:

I am unable to login using my user id (komal.baranwal) and password. After entering the login details it i sgoing to the same screen without showing any error.  
In my browser the login pag is getting redirected to the below mention url:  

[https://alm.accenture.com/wiki/login.action?os_destination=%2Fpages%2Fviewpage.action%3FpageId%3D543751284\&permissionViolation=true](https://alm.accenture.com/wiki/login.action?os_destination=%2Fpages%2Fviewpage.action%3FpageId%3D543751284&permissionViolation=true)

Please help in resolving this issue asap.


Answers:
author: Alex Koxaras _Relational_
body: Hi [@Komal Baranwal](/t5/user/viewprofilepage/user-id/5317214) and welcome to the community,

Are you trying to login to a cloud instance or to a server instance?


Tags: cloud

confluence-cloud
Confluence
Asked by Asghar Muhammad:

I created a service catalogue template page on confluence and filled it twenty times by copying it (20 pages) for different services. Is it possible if I change a field in original template it replicates to all 20 pages automatically?

Like there is a field named SLAs and we need to change it to Service Levels

Regards


Answers:
author: Marc - Devoteam
body: Hi [@Asghar Muhammad](/t5/user/viewprofilepage/user-id/2726488)

No it will not.

New pages will use the change made in the template, but old pages won't update.

You will need to make the change on those pages manually.

Same WoW like word documents, documents created upon a temple will not update if you change the template, only newly created documents will used the change made on the template.


Tags: confluence-server

server
Regarding Jira Macro Repair
Asked by Prajesh Krishna Karmacharya:

Hi, we are in a testing phase for migrating from Jira and Confluence Server to Cloud. We have tested the project migration in the testing phase...after migrating to the cloud as a test for some spaces, we found that Jira macro to be fixed...so can we use JIRA macro repair from confluence for specific spaces? What are the impacts of using JIRA macro Repair? Also, we followed your documentation, and the Existing JIRA instance link JIRA ID differs from the new JIRA instance link System JIRA.

Also, any process to back up our content or specific data if anything wrong happens after using JIRA macro repair.


Answers:
author: Alex Koxaras _Relational_
body: Hi [@Prajesh Krishna Karmacharya](/t5/user/viewprofilepage/user-id/5283705)

First and foremost. The place you asked your question is not Atlassian's support but its community. I hope that you understand the difference. Jira repair macro will repair any broken jira issue macro it will encounter and point to the right jira instance. From the selection on confluence settings you read:  
> The JIRA Macro Repair will find and fix any broken JIRA macros on your instance. If there are any broken links, we'll notify you, confirm your JIRA instance, and fix them up.  
> You can choose to **Skip macro repair** if you intentionally do not want your macros fixed. If you change your mind, you can come back to this screen and run the JIRA macro repair at any time.
>
> **Please note** that when you run this, all the updates to those macros will be attributed to your name. This means that a new version will be created for each page containing a JIRA Issue macro that has been fixed. These changes will also appear in your **All Updates** feed, and anywhere else where your activity is being tracked.

Since you are on a testing phase I would go for it. This is why you test your migration prior of production migration.

comments: author: Alex Koxaras _Relational_
body: And you can always ask for support from Atlassian, if you are eligible to do so.


Tags: cloud

confluence-cloud