youngmon/atlassian-qna huggingface dataset:
How do I do a full uninstall?
Asked by Tom Barbaro:

SourceTree is very confused so I want to reinstall it. I tried deleting the application but that is insufficient because it has information stored somewhere else.  
[](https://community.atlassian.com/t5/Sourcetree-questions/How-do-I-do-a-full-uninstall/qaq-p/122267?attachment-id=6541){#link_116d2f51792fbb}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/3645/1/SourceTreeBug.jpg){#display_116d2f51792fbb_0}


Answers:
author: stevestreeting
body: SourceTree stores user data in standard places which is:

\~/Library/Application Support/SourceTree  
\~/Library/Preferences/com.torusknot.SourceTree\*

But if we can help you with the 'confusion' please ask at <https://support.atlassian.com> - SourceTree shouldn't get in a state where you need to delete your user data.

comments: author: Mario Hofer
body: I just deleted and recopied the app, but I still get a password prompt each time I want to communicate with the server (client server, not Bitbucket or GitHub).

I tried all the other answeres, but didn't help.

Are there any files I can delete - like you mentioned above - without having to redownload the repositories? I'm on Mac OSX.


author: Kenneth Lewis
body: I updated my app today and now it's stuck on install and will not continue. Can this be fixed or should I delete everything as shown above?SourceTreeBug.jpg


author: Richard Fellure
body: I am having this same issue with the latest update, how can we fix this?


author: Tommy Chanthaboune
body: I am also having the same issue, please advise.


author: Chihoon Ryu
body: I had the same issue after updating sourcetree on OSX. Here's what I did about this.

Force close "source tree app".

Open terminal app.

"rm -rf \~/Library/Application\\ Support/SourceTree" on terminal app. (This clears ALL INTERNAL DATA of source tree including repo bookmarks)

Start source tree.

All repository "bookmarks" are gone.

But local repository data are ok. I added existing local repos again.


author: birnbuazn
body: I just successfully

* force quite SourceTree
* moved \~/Library/Application Support/SourceTree to the trash
* reopened SourceTree
* skipped the setup procedure
* closed SourceTree
* put back \~/Library/Application Support/SourceTree from the trash
* reopened SourceTree
* logged back in to my account

Guess what: Everything's back to normal. Funny thing.


author: Michael Pumo
body: **Stefan** - Excellent discovery! This worked for me. Thank you.


author: gustavobretas
body: And on the Windows, somebody knows how to do a full uninstall?

I found some files on \~\\AppData\\Local\\Atlassian


author: Mohamed Ramdan
body: C:\\Users\\\<user_name\>\\AppData\\Local\\SourceTree also


author: Ayman Abdelrazak
body: Thanks, it solved mine too


author: Ivo van Zon
body: All NT based Windows versions love to hide stuff in all kinds of dark corners in App_Data... Main place to look for hidden stuff


author: neonwarge04
body: Uninstalling from control panel takes awhile for me and it appears it doesn't work. So I went to use CCleaner to remove it. Now I was able to install latest version.
Why sourcetree's default localization is japanese? And how to change it?
Asked by anon -:

Picrelated

![](../../upfiles/2012-07-16_14.17.26.png)


Answers:
author: stevestreeting
body: SourceTree gets this from your system settings. System Preferences \> Language \& Text - Japanese must be higher in the list than either English or French.

If you want to change the language just for SourceTree and not alter your system setting, then go into SourceTree's Preferences and change the Language setting to the language of your choice. It defaults to 'Automatic' which means it uses the system setting.


author: Dennis Kromhout van der Meer
body: What is your system locale set to? As far as I know it picks up the system locale.
Can't launch DiffMerge to resolve conflicts
Asked by alexroper:

Just started getting the following error when using the command Launch External Merge Tool.

DiffMerge gives me the error:
> File (./inner.html.BASE.13191.html) not found.
>
But I can see these three files being created in the directory:

inner.html.BACKUP.13191.html

inner.html.LOCAL.13191.html

inner.html.REMOTE.13191.html

Using the following:

SourceTree v1.4.4.2

DiffMerge 3.3.2

Mac OS 10.6.8


Answers:
author: alexroper
body: Thanks. I think I figured out I had restarted a merge on that file that didn't have any conflicts. Which then flagged it as having conflicts even tho it didn't. So, yes I think the file was missing on one side of the merge.

I eventually resolved it manually, but it would be nice if there was some kind of warning about this before it tried to send it to the external merge application.


author: stevestreeting
body: This usually happens when one side of the merge is not available for some reason. This can happen when:

* The merge conflict is from a pull-with-rebase, where there's still only one parent
* The file was actually deleted on one side of the merge so there's only one file
* Applying a patch or applying a stash/shelve causes conflicts

In these cases a traditional merge tool won't be able to handle it because it always expects 2 sides to a merge. You will probably have to resolve the merge by hand, e.g. editing the file and editing the sections with conflict markers (\<\<\<\<, ======, \>\>\>\>\>) to resolve it.
Github merge on SourceTree
Asked by Reza Mousavi:

I have given myself a headache trying to figure out exactly how to pull changes from a forked repo. I have made no changes to the child repo, so I would assume there is no merge? I am quite new to both git and sourcetree, but would rather do things through the UI if possible.

It looks like to get the fork, I must create the upstream remote (which I have done successfully), then fetch / pull (not entirely sure I have done this right, I just right click on upstream remote and 'fetch from upstream'.

Assuming this is fine (which I think it is), how do I merge any files that have been modified on the parent repo? Will fetch already get these for me if I have not made changes? What can I use to do this? Any links to details on this would be great as unfortunately, as nice as the tool is, the documention seems to be lacking.

Secondly, once I have my files merged locally, it does not look like I am able to push my changes to the child (my) repo using the regular commit. They just dont appear in the commit dialog... I think I have pretty much clicked everything except the correct button.

Any guidance appreciated. I assume this stuff is pretty simple...


Answers:
author: stevestreeting
body: Fetch actually just downloads the changes from the remote, but then just stores them in the local records but only pointed to by the remote branches. So after you fetch (which actually, SourceTree does for you every 10 minutes in the standard configuration, see Preferences option 'Check defaults remotes every X minutes'), you'll only see the remote branches move in the log (the grey logos).

To actually bring those changes into your local branch, you have to use Pull. By default the Pull dialog will try to pull from whatever remote branch your local branch is tracking (which will usually be the one it was checked out from, probably the original clone if you haven't done anything else). But you can select another remote (your fork) and pull from there if you want too.

If there are no changes in your local branch then there won't actually be a merge, it will just 'Fast forward' your local branch to the same point as the remote branch. If there is a divergence then Git will try to automatically merge them. Only if that fails will you have to resolve the merge conflicts yourself, and then commit the merge. So the chances are, it sounds like you won't have anything to do manually here in your case.
Create Repository Failed
Asked by joshbillions:

When creating a new BitBucket repository from SourceTree I recieve the following error:

An error occurred while trying to create the repository. The error reported by the server was:

Forbidden (403)

CSRF verification failed. Request aborted.

You are seeing this message because this HTTPS site requires a 'Referer header' to be sent by your Web browser, but none was sent. This header is required for security reasons, to ensure that your browser is not being hijacked by third parties.

If you have configured your browser to disable 'Referer' headers, please re-enable them, at least for this site, or for HTTPS connections, or for 'same-origin' requests.

More information is available with DEBUG=True.


Answers:
author: Kevin Spears
body: Launch your console (easist to just spotlight it or Applcations-\>Utlities-\>Console) and do a search for sourcetree


author: jongreig
body: Having the same problem here, same error message.

For me, I get the error when I go to add a remote repository, click the "hosted projects" button, click "Create New Repository", then attempt to actually create the repository after going through the dialog and filling in the fields.

How does one reproduce the debug info? If I could, I would include it here as well. Screenshot included to show what results:

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

comments: author: stevestreeting
body: I'll see if the Bitbucket team has any input on what might cause this CSRF failure.


author: Kevin Spears
body: I've been having the same trouble for a few weeks now, here's the console output when I try to create a repo:

```
7/14/12 7:46:06.606 AM SourceTree: Error: Error Domain=YAJL Code=3 "lexical error: invalid char in json text." UserInfo=0x400e193c0 {NSLocalizedDescription=lexical error: invalid char in json text.}
```

comments: author: stevestreeting
body: That actually looks like a different error. SourceTree 1.5 is out later today, please can you try that when it's available to see if the behaviour is any different? We added support for creating repos under BB Organisations too and expanded the diagnostics a bit, I still haven't been able to reproduce this yet.


author: stevestreeting
body: Hmm, I've just tried this here and it worked fine (I just created a public git repo on my BB account anyway).

Can you try it again? Maybe it was a temporary problem on BB. If it still doesn't work, please provide the full details you were using so I can try to reproduce it and report to the BB team.
discard multiple files in SourceTree
Asked by Tommy Chuang:

Is there a way to discard multiple files at once in SourceTree? Sorry if this is obvious but I've been looking all over the place and the only place to discard is on the diff panel on the right, which only discard one files even if multiple files are selected.


Answers:
author: stevestreeting
body: This is a terminology issue - in the toolbar and on the right-click menus the operation is called 'Revert' in Mercurial, and 'Reset' in Git. You can use the toolbar button of this name, or multi-select files and right-click them to get the operation for that set.

'Discard' was used in the diff view because the action didn't map exactly to these Git/Mercurial commands, since it could do hunks and lines too. It's not ideal to have similar outcomes called different things though, I might get rid of Revert/Reset and rename them to Discard too for clarity, even though Discard isn't actually a git/hg command name.

comments: author: jimothyc
body: Steve,

I also found this confusing. May I suggest renaming to Discard? In Git, "Reset" isn't really the right term, either, because two Git commands are actually used: reset and checkout. So if using the underlying SCM term was the motivation, that mark wasn't really hit.


author: _Stav_
body: Note that for new files, 'reset' is not option. You need to select new files separately and select 'remove'.


author: CthulhuJon
body: You can batch select and discard in windows, just not on mac sourcetree.


author: jimothyc
body: Steve,

I also found this confusing. May I suggest renaming to Discard? In Git, "Reset" isn't really the right term, either, because two Git commands are actually used: reset and checkout. So if using the underlying SCM term was the motivation, that mark wasn't really hit.
Merge conflict pop-up in SourceTree
Asked by Louis Boux:

When you merge a branch in SourceTree and there's a conflict, there's a pop-up that warns you about the conflict, and there's also a checkbox for never showing that pop-up again. I Accidentally checked it and now when I have a conflict I am not warned about it. Is there a way that i can reset that option so that I can be warned everytime there is a conflict?


Answers:
author: stevestreeting
body: In a terminal, if you're using the direct version:

```
defaults write com.torusknot.SourceTreeNotMAS suppressConflictsWarning 0
```

And if you're using the Mac App Store version:

```
defaults write com.torusknot.SourceTree suppressConflictsWarning 0
```

comments: author: Zteve
body: Is there a reason this isn't available on the GUI under Preferences?


author: stevestreeting
body: An oversight, I'll add it to the list.


author: joaoMaas
body: How to do this in Windows version?


author: Arin Friedlander
body: I know it's been 2 years, but I needed an answer to how to do this in Windows today, too, and am posting the answer here in hopes it'll help the next passerby.

The Windows folder **%LocalAppData%\\Atlassian\\** contains one or more **user.config** files. Edit the one in the folder named for your version of SourceTree (2.1.2.5, in my case). It'll probably be the most recently changed one, too. Inside that **user.config** file is an XML node named **SuppressConflictsWarning** . Change its value to **False** and save the file.

```
<setting name="SuppressConflictsWarning" serializeAs="String">    <value>False</value></setting>
```

I wrote up a bit more here, too: <https://stackoverflow.com/questions/44812247/sourcetree-how-to-show-merge-conflicts-alert>


author: Richard Irwin
body: looked for that file, found it and the setting is not in that file
Is it possible to have the "Files in working tree" section automatically expand all dirs?
Asked by Klaas Hermanns:

Is it possible to have the "Files in working tree" section automatically expand all dirs?

Right now it always looks like:

(Sorry, it's not possible to attach a screen shot with karma = 0) ;(

So, basically I always have to option-click the root dir to expand all directory entries. I would like to have them always expanded automatically.


Answers:
author: stevestreeting
body: Not automatically, but you can right-click and Expand All, or alternatively use the Flat View instead.

comments: author: Klaas Hermanns
body: Thanks, I'll try the flat view from now on.
How to determine changes available with source tree?
Asked by Michael Grabenstein:

I am using a mercurial repository with Source tree. How can I find out if there are changes available before I pull ? Expecting there is a way to tell if I am at tip or not before the pull.

Thanks


Answers:
author: MikeL
body: Just curious: how do you prevent collisions with user-triggered commands? The last time I've tried a git fetch and performed another, local command which I don't remember, my repository got screwed up...

comments: author: stevestreeting
body: Both git and hg hold lock files on the repo data so that parallel commands can't screw each other up like this, so this shouldn't happen. The one case where I've seen it occur is when trying to use a repo via a SMB share, which can't fulfil the requirements reliably. But using a repo on a SMB share is generally a bad idea anyway.


author: stevestreeting
body: SourceTree periodically checks the default remote in the background (10 mins by default, it's configurable in Preferences), and if there are incoming changes a count is displayed on the Pull toolbar icon, and also alongside a down arrow icon in the Bookmarks view.

Otherwise, when you hit 'Pull' from the toolbar, you get a display of 'hg incoming' before you click OK so you can preview the changes that way too.
How do I setup a kiln account so that I don't have to enter my username and password all the time?
Asked by Kronos Koders:

I have a Kiln account that I use to manage my repository. However, I've noticed that everytime SourceTree access my Kiln account I have to enter in my username and password at least 3-4 times. I've checked the box that says "Save pass in your keychain", but this does nothing to stop the behavior.

I've followed the steps outlined in this question, but to no avail. In fact I know have an error output of the following:

```
warning: &lt;sub domain&gt;.kilnhg.com certificate with fingerprint fe:ad:65:89:5f:6f:1a:21:a8:33:45:6c:2a:cb:ca:bd:e9:e5:f0:01 not verified (check hostfingerprints or web.cacerts config setting)
```

Does anyone know how to setup a Kiln account correctly in Sourcetree


Answers:
author: stevestreeting
body: Do you have more than one user name for that domain? This usually only happens if SourceTree can't figure out in advance what user name to use to look up the password in your keychain. I have a Kiln account set up here with the password saved in the keychain and it's fine - this works for me because SourceTree remembers the last user name used for a host and tries that in the first instance for looking up the keychain (which requires the username to be known in advance).

One way to resolve the ambiguity is to include the user name in the Kiln URL. Unfortunately because Kiln uses full email addresses as user names this gets a little messy because you have to encode the '@', but something like this works:

<https://you%40domain.com@your.kilnhg.com/path/to/repo>

So in this case I've taken my user name, 'you@domain.com' and prefixed it on to the URL with an '@', but I also had to encode the '@' in the user name as '%40'.

This is a bit messy and actually shouldn't be required if you only have one user name which SourceTree remembers (that works for me), but this should at least get you past it regardless.


Tags: keychain

kiln

password

user
How to apply files from stash selectively?
Asked by Pulkit Singhal:

How can I apply files inside a stash selectively? Rather than right-clicking on the stash and applying it in its entirety?


Answers:
author: stevestreeting
body: Unfortunately git stash doesn't support doing this. You basically have to apply the stash, then only stage the parts that you want to commit. You can then re-stash the remainder (or discard it).

comments: author: Pulkit Singhal
body: ok so the following commandline feature isn't in the SourceTree roadmap yet?

```
$ git checkout stash@{0} -- &lt;filename&gt;
```

Git itself does support this.


author: Josef Stoeckl
body: As stated above, git naturally supports this via

```
$ git checkout stash@{0} -- &lt;filename&gt;
```

You can even show the stashed version and save it under a different name:

```
$ git show stash@{0}:&lt;full/filename&gt;  &gt;  &lt;newfile&gt;
```

Git is just powerfil like that. :-)

I would love to see the stash feature extended to include these usages in SourceTree.


author: glebsts
body: any updates on this? Cannot find how to apply only certain files/chunks from git stash. I used that on other project with TortoiseHg and like it. Can't find how to do same with sourcetree.


author: Igor Skomorokh
body: +1 for the feature. It's really annoying that at the end of 2019 we still don't have it. Please, add it.


author: Wim Deblauwe
body: Is there a JIRA issue we can vote on for this?

BTW: You can see here (<http://stackoverflow.com/a/22555169/40064>) how to do it manually.

comments: author: Pulkit Singhal
body: Recently I looked up \`custom actions\` but they aren't an option that is available when right-clicking on anything related to a stash.


author: Glenn Lawrence
body: FYI I tried the "**Keep staged changes**" check box when making the stash, but unfortunately this still stashes the staged changes along with the unstaged ones.


author: Brandon Cline
body: ```
Perhaps no way to do it while applying the stash (that would be nice).
```

```
But you can achieve the affect by applying the stash, and then stashing just the hunks that you don't want (leaving the bits/files you do).
```

Command line equivalent is:

```
git stash pop stash@{x}git stash -p
```
How do I limit the knowledge articles that a user can see when using the portal
Asked by Jose Rivas:

Hello Community,

I am building out our knowledgebase and making a push to be used by our entire organization. I am really hoping to build out a nice Self Help section where my users can go and find articles written for them so they can resolve their own issues. How do I limit the portal so that they can only see articles that are written for them and not pull up the articles that i have deemed to be internal only?

Thanks!


Answers:
author: Mayur Jadhav
body: Hello [@Jose Rivas](/t5/user/viewprofilepage/user-id/4612386) ,

You can add the restrictions on the pages. You can add group or individual so that they can only see those spaces.

Regards,  
Mayur

comments: author: Jose Rivas
body: Thanks. Where do I to specifically point my customer portal only to this space?


author: Jose Rivas
body: Thanks [@Mayur Jadhav](/t5/user/viewprofilepage/user-id/4290135) This pointed my in the right direction and I was able to figure it out. Easier than I thought!


Tags: cloud

confluence-cloud
Getting PDF footer customisation working
Asked by Nigel Sim:

I'm trying to get PDF customisation working so I can insert our copyright into the footer. Currently we have to export to Word, edit, then PDF to do this.

I've tried to edit the PDF Export settings both globally and at the space level, both as plain text, and inside a div, and none of this had any effect.

I was following <https://support.atlassian.com/confluence-cloud/docs/customize-exports-to-pdf/> and <https://support.atlassian.com/confluence-cloud/docs/advanced-pdf-export-customizations/>

Any suggestions would be greatly appreciated.


Answers:
author: Nigel Sim
body: Duplicate of <https://community.atlassian.com/t5/Confluence-questions/PDF-export-are-not-using-the-customized-CSS-header-and-footer/qaq-p/1869309>


author: Ananjan_Mishra
body: Hi [@Nigel Sim](/t5/user/viewprofilepage/user-id/1924465),

I am Ananjan from miniOrange.

We have got a solution, [PDF and Word Exporter for Confluence Cloud](https://marketplace.atlassian.com/apps/1229213/pdf-and-word-exporter-for-confluence-cloud?hosting=cloud&tab=overview) which can possibly cater to your requirements. The plugin provides an option to customize your PDFs with extensive features in just the way you want. Whether it is adding a footer or a watermark we can help you out with your use case!

Feel free to raise a ticket [here](https://miniorange.atlassian.net/servicedesk/customer/portal/2/group/6) or contact us directly at atlassiansupport@xecurify.com

**Best Regards,**   
**Ananjan Mishra**


Tags: cloud

confluence-cloud
Content Report Table macro: Results not displayed
Asked by anvesh:

Hi Team,

I am trying to insert "Content report table macro" on confluence page and it is not rendering properly and getting below error.

Error rendering macro 'content-report-table' : Invalid search

Can you please guide me to resolve this issue and help on this appreciated.

Thanks,

Anvesh


Answers:
author: Laura Campbell _Seibert Media_
body: Hello [@anvesh](/t5/user/viewprofilepage/user-id/5191006) and welcome to Community!

Could you provide a screencapture of the settings panel that opens on the right hand side of the page when you are configuring the macro? This could help identify why you are seeing the error.

comments: author: anvesh
body: Hi Laura,  

Thanks for the reply and,  

This issue is intermittent, it works very few times and most of the time it doesn't, even without any changes applied.


Tags: cloud

confluence-cloud