youngmon/atlassian-qna huggingface dataset:
Disable auto-refresh for each project
Asked by ignazioc:

I work for different companies and i have about fourty project managed by sourcetree.

When i start sourcetree there is delay during the refresh for all project.

Can i disable the auto-refresh for all projects?

thanks a lot.


Answers:
author: Seth
body: Yes, this is in the Options.

comments: author: ignazioc
body: thanks for your answer.

is the "Check default remotes for updates every X minutes" options?

I'm looking for somethins to disable refresh on startup.


author: Seth
body: Yeah, that's the one I meant.

I don't know of an option to disable refresh on startup, or if that's even what is happening.

Try starting SourceTree while your computer is not connected to any network and see if you have the same delay.
How do I edit the "Host URL" field for extended repository integration?
Asked by Brice Chidester:

I am trying to enable extended integration to a corporate GitHub instance where the URL is not [](http://www.github.com.)<http://www.github.com>. Is it possible to edit the Host URL field to allow this?

I see that Stash extended integration does allow for the editing of the Host URL field, but GitHub, BitBucket, and "Unknown" do not appear to be editable. Is this a bug or intended functionality?


Answers:
author: Seth
body: Asked (but not answered) here: [](/questions/274075/how-do-you-change-the-host-root-url-in-repository-settings)<https://answers.atlassian.com/questions/274075/how-do-you-change-the-host-root-url-in-repository-settings>

Extended integration has to be custom designed pre host because it involves non-standard APIs. You should probably post a feature request at [jira.atlassian.com](http://jira.atlassian.com)to add GitHub Enterprise to extended integration. If you do so, post the link in an answer or comment here so others can vote it up.

comments: author: Brice Chidester
body: Thanks! Turns out, there is an open feature request: [](https://jira.atlassian.com/browse/SRCTREEWIN-1034.)<https://jira.atlassian.com/browse/SRCTREEWIN-1034>. I recommend everyone who's interested in this functionality vote for it.
Remove 1 file from commit, keep changes locally.
Asked by jmejiaa1986:

I went ahead and did a commit of multiple files, my intentions of course to push later.

One of these files I can't send to the server, so I want to remove it from my commit BUT I want to keep the changes I have in this file.. So I want to remove the commit but keep this version in my working copy..

Does this make sense? I'm not sure what to do and I just had a big scare and thought I had lost all my work :/


Answers:
author: Sumali
body: Easiest way assuming you haven't pushed yet and the file was a brand new file that was added in your last commit:

1. back up your entire local working copy in case I'm wrong...
2. go to "Working Copy" view and "show all" files
3. right click on the file and select "Stop Tracking", you will now see the file appear as an untracked file in your working tree and a deleted file in your staging area
4. press the commit button and select "amend latest commit" and go ahead and commit this change - (this step relies on the fact that the commit where you added the file was the last commit)

Now your commit history shouldn't contain the file but it should still be sitting in your working copy intact and waiting to be committed as an untracked file.


author: Seth
body: Sumali's answer is great. In case his assumption that the file is "new" is incorrect, you can do something very similar (Full credit to Sumali for steps 1 and 4, which I copied verbatim):

1. back up your entire local working copy
2. view the commit in the log view
3. click the file in the changed files list, then click the "Reverse File" button at the top of the diff
4. press the commit button and select "amend latest commit" and go ahead and commit this change - (this step relies on the fact that the commit where you added the file was the last commit)

comments: author: Seth
body: You will have to restore the file in question from your backup.
SourceTree and HG Mercuriel hg serve
Asked by Nikola Djurdjevic:

Does SourceTree has option equvivalent to **hg serve** in commnad line? I have SourceTree which relays on HG Mercuriel and I would like to serve mine repository so others can push their changes to mine repository.


Answers:
author: Seth
body: If you have your heart set on using the GUI to run the command, you can create a custom action in Options.

Keep in mind that custom actions can launch any command (not just git or hg), so you'll need to have hg on your PATH or know the bath to the binary.

Custom actions show up in the context menu of commits and files.


author: Seth
body: You can run the hg serve command from SourceTree's terminal.

comments: author: Nikola Djurdjevic
body: Yes. But in that case I don't need SourceTree at all. I can do everythiing from CLI. I just wanted to use benefits of GUI and that I can start embeded webserver on appropriate port using GUI. For example: HG Tortoase has such feature.
SourceTree/Mercurial/Bitbucket - cloning yields HTTP error 404
Asked by Per Hellstrom:

I get HTTP error 404 when I try to clone the tutorial repository to my local drive with SourceTree/Mercurial/Bitbucket. The source address is [](https://phell@bitbucket.org/phell/tutorial.git)[https://phell@bitbucket.org/phell/tutorial.git](https://phell%40bitbucket.org/phell/tutorial.git)and Mercurial support looks enabled in SourceTree under Options.

Earlier I removed an error by adding

```
[hostfingerprints]bitbucket.org = 67:b3:bf:9f:c5:38:0e:4c:dd:4e:8a:da:3d:11:1b:c2:a5:d1:6c:6b
```

in the mercurial.ini file so I guess SourceTree at least is trying to communicate with Bitbucket.


Answers:
author: Seth
body: Just off the top of my head, it doesn't seem correct that "tutorial.**git** " would be a **Mercurial** repository, but I wouldn't expect a 404 error in that scenario.

Make sure you're actually using an @ symbol and not %40.

comments: author: Per Hellstrom
body: You are quite right. Cloning works after I enabled git under SourceTree options.


author: Per Hellstrom
body: Cloning works after I enabled git under SourceTree options.
Disable SourceTree from automatically adding files on commit
Asked by Michael Mannion:

Our team has a Mercurial repository, and is in the process of switching from using Tortoise to SourceTree as the GUI client. I'm finding that when I commit in SourceTree (v1.4.1.0 for Windows), it automatically adds all untracked files to the repository, whereas in Tortoise the files remained untracked until/unless I explicitly added them to the repository.

I'd prefer that SourceTree not add new files to the repository automatically, but I cannot figure out how to disable the default auto-add behavior. Therefore, my question is:

Q: Is it possible to configure SourceTree to refrain from adding new files to the repository on commit, by default?

Thank you, in advance.


Answers:
author: Martin Baku
body: Did you ever find a setting for this? Using git as well and this auto-adding of files is extremely annoying...


author: Seth
body: Ah, I had no idea that was a difference. I only use Git, so I can't really help here.


author: Michael Mannion
body: From a bit of web searching, it appears that "staging" is a Git feature without a (built-in) equivalent in Mercurial. That said, I'm pretty new to all of this and could easily be wrong. Is there a staged/selected option in SourceTree when using Mercurial?


author: Seth
body: What commit mode are you using? "staged" or "selected"?
One of my remotes shows up on the left but is no longer tracking
Asked by Oddible:

Not sure what I did but I have a remote on the left that was tracking fine (showing up on the right and how far behind it was the current branch) but now it doesn't show up on the right at all. How do I get this working again?


Answers:
author: Seth
body: "It shows up perfectly on the left". Just to make sure I understand you clearly, this is what I would expect to see on the left.

1. "production" should show up under the Branches section.
2. The Remotes section (when expended) should include "origin" and "staging".
3. If "origin" is expanded, its list of branches should include "production".
4. If "staging" is expanded, its list of branches should also include "production".

To summarize, if things are all working as expected, "production" (it sounds like that is the name of your branch) should be listed in at least 3 different places.

If you are seeing everything described in the left panel, you have "Show remote branches" checked (I assume you do since you see origin branches), AND the staging branch is not listed in the graph, then it sounds like you've found a bug, and should visit [](support.atlassian.com)[support.atlassian.com](http://support.atlassian.com).


author: Seth
body: Sounds like your local branch was deleted if it isn't showing in your branch list anymore. Try checking it back out from your remote.

comments: author: Oddible
body: Everything is showing fine in the branch list on the left - it all looks normal there. On the right in the commit message list - I am no longer seeing one of my remotes. I see my origin/prodiction (1 behind) but not my staging/production. The problem is I can no longer see what commit staging/production is at in Sourcetree.


author: Seth
body: Are you the only person making changes to the remote in question? Also, to be clear, it is the remote branch that is missing or the local branch?


author: Oddible
body: Thanks, the remote in question (staging/production) is a deployment server - the only changes to that server are pulled from origin. So no one is making changes on that remote. Again, the remote is not missing - it appears on the left in the tree just fine. The problem is it isn't showing in the commit list on the right - so I cannot see what commit is was left on.


author: Seth
body: You should log into that server and check to make sure it still has the branch. The most likely scenario is still that it somehow got deleted, but from the remote, not local.


author: Oddible
body: That remote branch is working fine, I can push to the server as well as pull from the server perfectly. As I indicated, it shows up perfectly on the left. The problem is that Sourcetree isn't showing the commit that the remote is on in the view on the right.


Tags: track
How can I see the history of a single file?
Asked by eee t:

How can I see the history of a single file?


Answers:
author: Seth
body: Right click the file in SourceTree, and choose "Log selected..."

comments: author: Leandro Barbosa
body: .


author: sme
body: [@Leandro Barbosa](/t5/user/viewprofilepage/user-id/3830787) What if the file is not in the list of unstaged files?

comments: author: sme
body: just figured it out by myself, changed from only showing pending to all files


author: Leandro Barbosa
body: ![2020-03-26_14h55_49.png](https://community.atlassian.com/t5/image/serverpage/image-id/88060i864F4055A1C9296F/image-size/large?v=v2&px=999 "2020-03-26_14h55_49.png")
Sourcetree Installation on Windows 8 fails because Administrator Rights are needed
Asked by Martin Schilling:

Within the [FAQ](http://www.sourcetreeapp.com/faq/ "FAQ") is statet there is no need for Administrator Rights to install Sourcetree on Windows.

If i try to install it on my School PC i get the Following Error:

"You do not have sufficient privileges to complete this installation for all users of the machine. Log on as Administrator and then retry this installation"

I try to install it in my home Folder.

Is there a parameter to install it only for the current User?

And please adjust the FAQ


Answers:
author: Astro
body: I too have the same issue and have been waiting for quite some time.
Removing a merge on Sourcetree
Asked by Rameez Hussain:

I made quite few changes in my project (I was working on a remote branch and not the master), I committed them and created a pull request on BitBucket and merged the branch to master. I had forgotten to push my changes after the commit. Now, after trying switching the current branch to my remote branch and reverting to the commit before the merge, I managed to get all my changes back and back them up elsewhere in my system. What I want to do now is undo the bad merge that I did. Each time I click on the merge and select "Reverse commit", I get the following error message:

"error: Commit \<commit_id\> is a merge but no -m option was given.

fatal: revert failed"

I want to basically remove the merge and bring it to a state such that it doesn't say master(4 behind) anymore.

I am new to source control and I would appreciate it if anyone could help me out with this.


Answers:
author: Seth
body: Instead of reversing the commit, you want to reset the target branch (master, it sounds like) to the commit before the merge. To do this in SourceTree, right click the commit before the merge, and choose "Reset to this commit". You probably want to do a hard reset, which will reset your working copy to that commit as well, but make sure you don't have any changes you want to keep, or you'll lose them.

comments: author: Rameez Hussain
body: Great! Thanks. That suggestion worked! :)


author: Vinod Kanpurne
body: This is giving me pull when i try to reset commit any suggestions on this


author: Rahul A Shetty
body: "Reset to this commit" will work only for commits that are not pushed.


author: shahbaz.akram
body: This is giving me pull when i try to reset commit any suggestions on this So how can we remove pull .


author: Konrad_Kurzydym
body: To make it work for pushed commits; after "Reset current branch to this commit" you have to Push with "Force Push" checkbox enabled - but be careful as this can have destructive behavior.


Tags: bitbucket-cloud

cloud

git

merge
Restrict Options available when exporting to PDF
Asked by Nicholas Tye:

We've had some instances recently where Confluence performance has been significantly impacted by people accidentally selecting the Normal Export option to export an entire Space to PDF rather than the Custom Export option.

Is there a way to remove/disable the Normal Export option and just leave the Custom Export option available or to have the default option selected as Custom instead of Normal ?


Answers:
author: Sayed Bares [ServiceRocket]
body: Welcome to the community [@Nicholas Tye](/t5/user/viewprofilepage/user-id/5260571) !

You can't disable/remove export Normal option. However, the best practise would be to **NOT** allow everyone the space export permission instead only give that permission to a few people who actually knows its impact.

The normal users can just use single page exports (anyone who can view a page can also export it).

comments: author: Nicholas Tye
body: Thanks for the response [@Sayed Bares \[ServiceRocket\]](/t5/user/viewprofilepage/user-id/1480984)

We do have restricted permissions to the export feature and people do know the impact that a full space export can have - but we're human and do make mistakes at times !

Would be great if Atlassian could consider a change in a future version to make Custom Export the default option and therefore require a positive action to do the full space export. Not sure how to go about raising or requesting that though.


author: Sayed Bares [ServiceRocket]
body: [@Nicholas Tye](/t5/user/viewprofilepage/user-id/5260571) Totally make sense, Please raise a suggestion for Confluence cloud in the following portal:

* <https://jira.atlassian.com/secure/Dashboard.jspa?selectPageId=10440>


author: Nicholas Tye
body: [@Sayed Bares \[ServiceRocket\]](/t5/user/viewprofilepage/user-id/1480984) thanks and will do


Tags: cloud

confluence-cloud
How to change owning page of a draw.io diagram?
Asked by Ajay.Amrite:

I was working on a draft of a confluence page and had added a draw.io diagram to the page.

Due to a bug or loss of network i have lost the edits that i made to the page.

The diagram is still there but the only way to add it back into the page is to embed it, but this takes away the ability to edit the diagram. When i click on 'edit owning page' is reopens the same page but i don't see the diagram on it.

How do I fix this issue?

secondly, Is there a way to see every edit made to the page that was not published?


Answers:
author: Bastian -drawio Diagrams-
body: Hi [@Ajay.Amrite](/t5/user/viewprofilepage/user-id/2443266) . Usually, the diagrams/boards created with draw.io are always editable if you published them to the Confluence page (and it looks like this is what you did). If you didn't save the page before, you will find the page in the draft section (just like [@Rilwan Ahmed](/t5/user/viewprofilepage/user-id/716861) suggested). If you saved the page at least one time, you just enter the Confluence page edit mode to have your diagram editable again. If this is not what you are experiencing at the moment, please download the draw.io xml file from the page attachments and drag and drop it to a blank draw.io editor canvas (after you embedded the macro of course). If this still doesn't solve your issue, please contact our tech support via <https://drawio.link/technicalsupport>


author: Rilwan Ahmed
body: Hi [@Ajay.Amrite](/t5/user/viewprofilepage/user-id/2443266) ,

Please check if this article helps you

<https://community.atlassian.com/t5/Confluence-articles/Introducing-Findable-Drafts-a-better-way-to-start-pause-and/ba-p/2045347>


Tags: cloud

confluence-cloud
Including a page does not include diagrams of tables in this page
Asked by simonkuehn:

Original Page:

![Include page 1.jpg](/t5/image/serverpage/image-id/266813i55D10D374DCC2057/image-dimensions/284x418?v=v2 "Include page 1.jpg")

Page included:

![Include page 2.jpg](/t5/image/serverpage/image-id/266814i2E9985064597CB9E/image-dimensions/281x141?v=v2 "Include page 2.jpg")

How do I solve this?


Answers:
author: Nic Brough -Adaptavist-
body: Welcome to the Atlassian Community!

This is because of the way "include" works. The include function does not copy the included page, it renders it as though it was part of the current page.

Imagine the content is all code. A page would not be

1. Run code for section 1 of this page in this context
2. Run code for an included page in that page's context
3. Run code for section 3 of this page in this context

It actually does this:

1. Run code for section 1 of this page in this context
2. Run code for section 2 of this page in this context (code taken from another page)
3. Run code for section 3 of this page in this context

So, my guess is that your two charts are configured to run against something else on your included page. For example a "chart from excel called thing.xls attached to this page" will fail when included because the page including it doesn't have thing.xls attached to it.

The best thing to do is see if you can edit the parameters of the macros on the included page - can they be changed to use a fixed source of data? Rather than "attached to this page", use "attached to a page called X (which happens to be the included page)"


author: simonkuehn
body: You can't configure the source.

![Anmerkung 2023-07-07 144930.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/267459i6958384A9F56DB3C/image-dimensions/454x566?v=v2 "Anmerkung 2023-07-07 144930.jpg")


author: Nic Brough -Adaptavist-
body: It should be, but can you show us the config of one of the chart macros?


author: simonkuehn
body: Hi Nic,   

thanks for your reply.

It actually renders from a table on the page.

![Anmerkung 2023-07-07 141358.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/267444i0533AE377D942BDD/image-dimensions/375x209?v=v2 "Anmerkung 2023-07-07 141358.jpg")

For me that's fixed source data, isn't it?


Tags: cloud

confluence-cloud
Objects on pages that are neither exported nor printed
Asked by Dr_ Stephan Roth:

Hello experts.

I invested some time to sort this out, but obviously couldn't find what I was searching for. Sorry, if my question was (surely) answered before:

I want to implement hints into my pages that are not printed or exported (to ms-office or pdf). Some helpful content for editors that is only seen when working in confluence cloud.

And if possible in general, may these objects be foldable or the content hidden? Like for mouseover hints.

Many thanks.

Stephan


Answers:
author: Barbara Szczesniak
body: [@Dr_ Stephan Roth](/t5/user/viewprofilepage/user-id/5260346) Welcome to the community!

You can add these instructions or hints as placeholder text on the template your writers and editors use for pages. This text is only visible while in Edit mode. See <https://support.atlassian.com/confluence-cloud/docs/create-a-template/> for more information.

comments: author: Rodrigo
body: Hello [@Dr_ Stephan Roth](/t5/user/viewprofilepage/user-id/5260346), just writing to agree with [@Barbara Szczesniak](/t5/user/viewprofilepage/user-id/5187859), as that is a very elegant solution. Another alternative could be to use comments as well, however these are not as pretty :)

* [Export content to Word, PDF, CSV, HTML, and XML](https://support.atlassian.com/confluence-cloud/docs/export-content-to-word-pdf-html-and-xml/#:~:text=Blog%20posts%20aren%27t%20included%20when%20exporting%20to%20PDF%20using%20this%20method%2C%20and%20comments%20are%20never%20included%20when%20exporting%20to%20PDF.)

Best of luck!


author: Dr_ Stephan Roth
body: Understood and nice Idea, but just close to what I need. The content I am talking about should stay where it is and is not edited or deleted.

I simply need it not to be printed or exported. I don't know which elements have that option.

By talking about "hints" I mean instructions that could be a few pages long...e.g. complete legal texts. Sorry, it seems I was not explaining very well.

Aren't comments exported to word .docs?


Tags: cloud

confluence-cloud
Access to Confluence pages linked in Jira issues through Databases
Asked by Valerie Blondel:

Hi there,

If Confluence pages are linked to a Jira issue, and as we have access to most fields of any Jira issue in a Database, could it be possible to retrieve linked Confluence pages as well ?

As of now, it seems that we can retrieved linked Jira issues, but not linked Confluence pages ?

Thanks !

Val?rie


Answers:
author: Stefan Kleineikenscheidt _K15t_
body: Hi [@Valerie Blondel](/t5/user/viewprofilepage/user-id/4720233)

the technical answer why this is not possible right now is that "Linked Confluence pages" is not a custom field in Jira.

Cheers,  
-Stefan

comments: author: Valerie Blondel
body: Hi Stefan,

Thanks a lot, got it.

As it would be really helpful, do you know if this is something they are working on ? Any chance to see it coming ?

Cheers,

Val?rie