youngmon/atlassian-qna huggingface dataset:
Removing deleted files from a source tree repository???
Asked by vr_driver:

I have a problem, and it's driving me crazy.

I have replaced a bunch of files in a directory which is a git source path.I can add the new files to the repository which is fine, but I can't get the program to stop looking for and forget about the old files I removed.

This is my infinite loop scenario...

With the files listed in the bottom window, the bottom status bar says "255 missing". That's fine. I select all and choose "Stop Tracking".

Now, after some processing and a dialog box, I click on the ok. Now, they appear in the top window with the bottom status bar saying "255 Removed".

I select them all and choose "Stop Tracking". After another dialog box, the message at the bottom of it says, "blablafilenames setcolours.php liners/Modules/backups/ColourSettings/update.php liners/Modules/backups/ColourSettings/updated.php   
fatal: pathspec 'liners/Modules/Calendar.orig/index_tz_ajax.php' did not match any files  
Completed with errors, see above".

No luck.

Then, I select "Unstage Files"... We are now back to square 1, with the "255 Missing" and the files listed at the bottom.

Am I dumb? Missing something? Or is this not the way to do it? Is it a bug?

Thanks, Steve

SourceTree Version 1.5.6 (1.5.6) Mac


Answers:
author: stevestreeting
body: After you select 'Stop Tracking', you have to commit this change. So after selecting 'Stop Tracking', which turns all the files from 'Missing' to 'Removed', you should commit the change.

comments: author: vr_driver
body: Ah ha! That worked beautifully. Thanks heaps! :)


author: benoitfreslon
body: Same problem. But no solution.

<https://answers.atlassian.com/questions/259899/can-t-delete-missing-files-error-fatal-pathspec-file-did-not-match-any-files#>
Does sourcetree support qclone for cloning forked mq patches?
Asked by JDFagan:

It seems that SourceTree does not properly issue a "hg qclone" command when trying to clone a patch of a repo (i.e., forked repo via MQ patches will have a command line of hg qclone ssh://repourlhere).

Can you confirm that SourceTree currently doesn't issue this type of command for patched repos?


Answers:
author: stevestreeting
body: Correct, SourceTree currently has no support for MQ.

comments: author: JDFagan
body: Thanks. Are there plans for supporting this in the future? If not, it would be nice to add this to future features list.


Tags: clone

fork

patch
How do I set up a remote repository on a SiteGround host?
Asked by Brad Schwartz:

I am starting to use [SiteGround.com](http://SiteGround.com) for a host and wanted to know how I can take my MAMP Magento and push it up to my account on SiteGround?


Answers:
author: stevestreeting
body: Unless SiteGround has an option for deploying your website via Git or Mercurial (like Heroku for example), then SourceTree won't help you with this, you'd need a regular FTP-style product.


author: Nic Brough -Adaptavist-
body: What has this got to do with Atlassian products?

comments: author: Brad Schwartz
body: I'm wanting to know how I can use SourceTree to take a local MAMP project and deploy it on a SiteGround host, sorry i wasn't clear.


Tags: bitbucket
ssteinerx@gmail.com
Asked by ssteinerx:

So, you're rolling along, you've got all your stuff staged for commit, just entered the commit message and...have to grab the stupid mouse to go down and click the Commit button.

Please make Cmd-C or Ctrl-C or Option-C click the Commit button.

Cmd-C is standard Mac behaviour i.e. Cmd-? usually clicks the ? button.

<br />


Answers:
author: Andy Brook [Plugin People]
body: Hey there, if you want to post a feature request, the best place is at <https://jira.atlassian.com> this is more of a Q/A kind of site.


author: Insomniac Software
body: Use Cmd-Enter to submit the commit


author: Theinvisibleman
body: Yes, as Andy mentioned, you would have to log a feature request at [https://jira.atlassian.com/](https://jira.atlassian.com/.). You would have to first create an account there to be able to create a feature request, though.


Tags: keyboard-shortcut
You don?t have permission to save the file ?SourceTree? in the folder ?Application Support?.
Asked by Florian Bartels:

I receive the following error message many times during startup of SourceTree.

You don't have permission to save the file "SourceTree" in the folder "Application Support".


Answers:
author: stevestreeting
body: You must have changed the permissions for the folder \~/Library/Application Support at some point. Most applications would have trouble if you don't have write access there, e.g. <http://forums.macrumors.com/showthread.php?t=1090535> - this is the default place for user application data on Mac OS X.

You may be able to resolve this using Repair Permissions, otherwise open a terminal and navigate to \~/Library/Application\\ Support and check the permissions there, you must have write access.

comments: author: Florian Bartels
body: Thank you. Somehow I was missing write permissions on the Application Support folder.
Connect to another git repository
Asked by Serial Bob:

Hi,

I want to use SourceTree to manage my own git server, installed on my dedicated webserver.

It is possible ?

Regards


Answers:
author: stevestreeting
body: Sure, you can clone from any URL, or add a remote corresponding to any URL. The hooks into common services like Bitbucket and GitHub are just for your convenience, just copy/paste a URL for any remote into the Clone or Add Remote dialogs.
SourceTree is making outgoing tcp connections
Asked by James Finn:

SourceTree is making outgoing tcp connection requests to [www.gravatar.com](http://www.gravatar.com) and to other domains. Why? How can this be disabled? I have disabled automatic update checks, so there is no reason this program should be initiating outgoing connections at all.


Answers:
author: James Finn
body: Understood but don't like. No reason connections to Gravatar can't be an option in Preferences for those who want it, or at least something to uncheck for those who don't.

An undocumented phone home "every 12 hours" is a corrupt practice and I've disabled it through a firewall. "for emergencies" is suspect but I certainly believe you "measure SourceTree usage".

The only reason I am posting this is the annoying email I just got saying I had to resolve the question, which, as far as I remember, was not on the list of reasons I would get email when I subscribed to comments on the question.

Very nice application. Nice that it's free. But attitude towards customers as crops to harvest not so much.

comments: author: joshua-golub
body: There is an option for this (at least nowadays): Tools/Options/General - Load avatar images from gravatar.comFYI.


author: stevestreeting
body: Gravatar is used to display user icons on commits. This is pretty universal in hg/git clients these days.


author: James Finn
body: Thanks.

It's also trying to connect to href="http://www.sourcetreeapp.com,%20"\>www.sourcetreeapp.com, doing that at random moments, like when I'm not even working with the application but I left it running in the background.

Even for the icons, the application is already 61MB, so is there any reason it can't store a small icon locally and has to fetch it remotely? Don't understand the design philosophy here.

comments: author: stevestreeting
body: The way gravatar works is that you can set up your own personal image (like Twitter, Facebook etc) so that whenever a gravatar-enabled service looks up your email (in this case, the committer/author), you get the personalised image. This is nice for recognition purposes. If you don't have a gravatar image, then you get the standard procedural image. In fact, this very website gets the avatar images from gravatar, that's why mine is a picture of me and yours is a procedural shape :) There is some cacheing done in fact, so it isn't retrieved every time.

About the connection to [sourcetreeapp.com](http://sourcetreeapp.com), it shouldn't do that any more often than every 12 hours. It's 2 things - a check for any emergency news (e.g. if there was a security issue, major crash bug or something that we really *had* to let you know about), and a way to measure SourceTree usage. There's no data in it, just a random number, but it's used to measure how much ST is getting used out there, which helps Atlassian justify continuing to invest in the development (since it's a free tool).


author: Sergey Gradovich
body: How to force update an avatar from gravatar.com? I set new avatar at [gravatar.com](http://gravatar.com)but it still 'default' in SourceTreeApp...
strange delete branches on push
Asked by antonio molinari:

every time a try to push from sourcetree, the push window shows me a branch named "forces", and for default ALWAYS that branch, and don't know who created (maybe a console typing error?).

How can i remove tedinitely that branch "forces", and restore the correct "matching" between local and remote branches so when i open the push window it shows me correctly

master --\> master  
stable --\> stable

AND NOT

master --\> foces  
stable --\> forces

?

Thank you very much :-)


Answers:
author: antonio molinari
body: tried all those solutions: the only was i solved with was to re-clone the repo ...

comments: author: stevestreeting
body: Glad you got it sorted out, I don't know how your repo got into this situation since a Fetch with Prune should have had the same effect.


author: stevestreeting
body: Click the 'Fetch' button on the toolbar, and check the prune option before clicking OK. This will delete any remote branches that your local repo has a record of but which no longer exist on the remote.

To change how SourceTree defaults the Push dialog, check out the options in Preferences \> Git \> Push branches.

comments: author: antonio molinari
body: seems not working, done what you said, still see that strange branch: is there a way to delete that sort of branches list cache ?


author: stevestreeting
body: Fetch with prune does delete the local cache of the branches that are on the remote. If it hasn't gotten rid of this branch, it means that it still exists on the remote. If you want to delete it from the remote, you can do so by right-clicking the remote branch in the sidebar (expand the remote entry to see the remote branches, then right-click on it and select delete). Note that this will delete the branch on the remote, not just your own record of it.


author: antonio molinari
body: tried all those solutions: the only was i solved with was to re-clone the repo ...


author: antonio molinari
body: i attach images, it was not possible on the original posting window

![](../../upfiles/Schermata_2012-11-13_alle_15.40.47_1.jpeg)

![](../../upfiles/Schermata_2012-11-13_alle_15.40.43_1.jpeg)


author: antonio molinari
body: i attach the images (it was not possible on original posting window)

![](../../upfiles/Schermata_2012-11-13_alle_15.40.47.jpeg)
Select a git commit with AppleScript or shell script
Asked by Dave Smith:

I would like to be able to write a Service to open a selected SHA1 from other programs in SourceTree.

I have my SHA1s stored in my Xcode archive comments when I do Archive build and I would like to be able to select the SHA and have a service to open SourceTree to that particular commit.

Is that possible now? If so, how is it accomplished? If not, can I add this as a feature request?

Thanks


Answers:
author: stevestreeting
body: This isn't supported right now. Coincidentally, someone else opened a feature request for this in the last few days: <https://jira.atlassian.com/browse/SRCTREE-1258#comment-415563> - please see if that covers your needs and if not, please add your thoughts to that thread.
Searching for newly added files in Sourcetree
Asked by Wasim Khamlichi:

I am new to Git to please excuse me if it's not capable of this.

I'm using SourceTree to version control my website. So far it's great, my only issue is that if i add a new file to my website, SourceTree doesn't automatically detect it and add it to the working copy. How can I scan the working folder for newly added files? Or do I have to add them each individually when I create them?

Thanks for the help


Answers:
author: stevestreeting
body: New files will show up by default in the 'Show Pending' filter (the drop-down at the top of the file status view), they will show up as 'Unknown' until you decide to add them. The reason this isn't automatic in git is that you may not want to track every file in your repo folder, they might be temporary or derivative files that you want to ignore instead.

You can see them most easily with the Flat View and Show Pending. Also, if you don't want to add them all manually, you can use the 'Add/Remove' button on the toolbar which will add all new files (and also mark missing files as removed).

comments: author: Wasim Khamlichi
body: That's exactly what I need. Thanks for that.


author: zoodal
body: Thanks - this response cleared up my issue.
i got "hg status' failed with code 127:'env: python: No such file or directory '" message when starting source tree
Asked by away4m:

i delete default python installation from mountain lion and install python 2.3 via brew.But i can't use sourcetree again.python seems work ok with command line.

Edit:i mistyped 2.3 here i actually install 2.7.3 via brew but it's okay.i fix this problem via removing PATH variable from .bash_profile. (PATH=${PATH}:/usr/local/share/python)


Answers:
author: stevestreeting
body: Why did you delete the default install? You can have more than one version of Python installed and switch between them with environment variables / aliases.

We do not support Python 2.3, it's far too old. Python 2.6 is the minimum we've tested with (this came with Snow Leopard), Mountain Lion (and Lion) comes with 2.7.

Mac OS X GUI apps do not inherit your terminal configuration, that's why SourceTree can't see your custom Python - environment variables and the PATH are set completely differently (such as /etc/paths). But as I say, we wouldn't support using 2.3 anyway.
SourceTree 1.5.5 won't open in OSX 10.6.8
Asked by Martin Petts:

I updated SourceTree via the AppStore to v1.5.5 and now it won't open. I just get the 'closed unexpectidely' alert and an invitation to send a report to Apple.

I'm running OSX 10.6.8 (Snow Leopard).


Answers:
author: windwagon
body: This was reported three weeks ago ([https://answers.atlassian.com/questions/96633/sourcetree-1-5-5-quits-unexpectedly-on-startup-mac-os-x-10-6-8](/questions/96633/sourcetree-1-5-5-quits-unexpectedly-on-startup-mac-os-x-10-6-8))

and is fixed in v1.5.5.1, available at: <http://sourcetreeapp.com/download>
Moved local repository
Asked by Dylan Anderson:

Hi all,

I have moved the directory where my local files are stored for one of my projects. How do I tell SourceTree that the files it should be comparing to the remote repository files, are now in a different folder?


Answers:
author: Vishwajeet Singh
body: You can simply add a new working copy since remote info is stored in the repository itself it should work automatically.

comments: author: Dylan Anderson
body: This worked, thanks. Obvious after the fact.


author: stevestreeting
body: Just double-click on the bookmark to open it as usual (it should be labelled with 'Repository moved or deleted'), and select the option to re-locate the repo.

comments: author: Dylan Anderson
body: The directory hasn't moved, I've just moved my project files out of the directory.  

I used to have the project files in the root of my local Apache installation. I have since moved the project files to a subdirectory of that root. So the directory still exists, just with none of the project files in it. Thus, the repository isn't labelled with "Repository moved or deleted".
Can I insert Excel into an Iframe?
Asked by Hila Nachman:

Can I insert Excel into an Iframe? It asks me to put an ID and several stuff Im not sure I to put


Answers:
author: Stiltsoft support
body: Hi [@Hila Nachman](/t5/user/viewprofilepage/user-id/5224853)

We can also suggest trying our [Table Spreadsheet](https://docs.stiltsoft.com/tfac/cloud/how-to-use-table-spreadsheet-macro-83100938.html?utm_source=atl_community&utm_medium=answer&utm_campaign=table-filter-traffic-sources&utm_vendorID=1216111) macro provided by the [Table Filter and Charts for Confluence](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?tab=overview&hosting=cloud&utm_source=atl_community&utm_medium=answer&utm_campaign=table-filter-traffic-sources&utm_vendorID=1216111) app.

You'll be able to import your existing Excel files in .xlsx and .csv formats and work with them in Confluence.

Later, if required, you can export the updated file back to share with your colleagues outside of your corporate Confluence instance.

If you are not familiar with the app (and it provides many more handy macros), please book a [live demo](https://calendly.com/tablefilter/live-demo?month=2023-06) - we'll be happy to arrange it for you and your team.


author: Juliette Lallement _Elements Apps_
body: Hi [@Hila Nachman](/t5/user/viewprofilepage/user-id/5224853)

Welcome to the Community!

I can recommend you the Element Spreadsheet app. It allows you to import Excel files and work on them directly from Confluence and collaborate with your colleagues.

Our app is designed to be user-friendly and intuitive with a range of powerful features that make it easy to manage your data and analyse it in meaningful ways.

One of the key benefits of the app is its formula editor designed to make complex calculations a breeze. No more struggling to figure out the right formula or spending hours manually crunching numbers.

We also offer advanced formatting options that allow you to customize the look and feel of your spreadsheets to suit your specific needs.

Marketplace listing [here](https://marketplace.atlassian.com/apps/1212486/elements-spreadsheet-for-confluence?hosting=cloud&tab=overview&utm_source=community&utm_medium=referral&utm_campaign=question-2366487).

Hope it helps!


author: Oki__PolarisOffice_
body: [@Hila Nachman](/t5/user/viewprofilepage/user-id/5224853)

If you need to add an exel file and edit it in a Confluence page, Polaris spreadsheet can be a good option.

Our app, Polaris spreadsheet allows you to embed an existing excel files in a confluence page and directly edit it.  
It offers full editing capabilities for excel files and provides an advanced view mode that allows you to use filters, scroll, and find. Please check the details.  
A month's free trial is available now!

[Atlassian Marketplace](https://marketplace.atlassian.com/apps/1223556/polaris-spreadsheet-for-confluence?hosting=cloud&tab=overview)


Tags: cloud

confluence-cloud

filter

ms-excel

table
Confiform dynamic filter/Filter control macro - Multiple Confiforms field logic settings and calc
Asked by Alice Liu:

Hi there,

I created a form that stored data as below structure. Each entry has a unique ID.

Basically my purpose with the Filter control macro is like:

1. User input 2 different ID in the filter setting

2. click filter button

3. CardView macro will show the 2 column of data with user specified IDs

Macro setting is:

Filter control macro:

- Confiforms Field: field name = ID

- Confiforms Field: field name = ID

**Q1: Final input to Filter control macro here should be "Or," but I found it seems to take the two lines as "And" relationship. So after clicking filter button, it shows nothing.**

**Could you help on this?**

CardView macro with transpose enable:

- Confiforms Field: field name = ID

- Confiforms Field: field name = category

- Confiforms Field: field name = Qty

- Confiforms Field: field name = amount

**Q2: Is it possible to generate a third column based on the filter ID result for calculating Qty subtraction?**

Q2 is extending from Q1. The dynamic filter should always generate 2 column View result. Let's say column ID_1 and column ID_2.

Is there any way that I can generate automatically the 3rd column for calculate "column ID_1 - column ID_2," especially for Qty and amount?

Thank you.


Answers:
author: Alex Medved _ConfiForms_
body: Hi

1. ConfiForms Filter Control macro creates an AND condition. It cannot create an OR condition for you

2. ConfiForms Filter Control does not generate anything - it applies the filter on the view macro which is configured to use by this Filter Control. So, if you have such fields in the view then it will refresh those as well

Alex

comments: author: Alice Liu
body: Hi Alex,

Thank you for the feedback. Then I think Filter Control macro would not be a suitable tool for my condition.

Wonder if you have any recommendation for create an OR condition filter on the view macro?


author: Alex Medved _ConfiForms_
body: Sorry, at the moment there is no built-in macro (or functionality) in ConfiForms app that could help you with that

Alex


author: Alice Liu
body: Got it. Thank you for the prompt reply.


Tags: cloud

confiforms

confluence-cloud

filter
Insert emojis
Asked by Shumei WAN:

Why cant I insert my own emojis?

Reference: [Use symbols, emojis, and special characters \| Confluence Cloud \| Atlassian Support](https://support.atlassian.com/confluence-cloud/docs/use-symbols-emojis-and-special-characters/)

![insert-emoji-confluence.png](/t5/image/serverpage/image-id/258602i8C0CA2D0DADFF928/image-size/large?v=v2&px=999 "insert-emoji-confluence.png")


Answers:
author: Trudy Claspill
body: Hello [@Shumei WAN](/t5/user/viewprofilepage/user-id/5074299)

The Confluence Administrators may have disabled the option to allow people to add custom emojis. That option is found at https://\<confluence URL\>/admin/emoji


Tags: cloud

confluence-cloud
How to know which link in Confluence Cloud used to be which link in Confluence Server after migrate
Asked by hans.polder:

Hi all,

I hope there is someone out there with some pro tips here :)

We are soon migrating our Confluence Server set-up to Confluence Cloud. As you can imagine, the links to individual pages will change in that process.

We have one department using Confluence Server heavily, where they are referring to specific Confluence pages in their tooling. For about 700 (!) different URLs. Now, as far as I know, we can't tell after the migration what the 'old' URL used to be for a specific page.

Any ideas on how we can help this department out with some sort of mapping with the old link mapped to the new link after migration, so they can more easily change their tooling?

The method I would see now is (after migration, where old environment remains up for a few weeks read-only):

1. Open old link - be referred to the old read-only environment
2. Copy the title of that page (or some other unique reference) and search it in Conference Cloud, maybe by opening the same tree location or something)
3. Then, after having found the new link, manually copy/paste that to the mapping file (and rinse \& repeat for 699 times)

Your ideas and thoughts are appreciated!


Answers:
author: Sanjen Bariki
body: Hi [@hans.polder](/t5/user/viewprofilepage/user-id/5089274) ,

Welcome to Atlassian Community!

As explained, After the Confluence migration Atlassian Migration Team will help you fix the Link issue with New Link URL.

If you need to see which page have used the Link, You can discuss it with Atlassian team. They can provide you the list of page from the Confluence cloud DB side.

Let me know If I missed any Points.

**Accept the Answer If it helps you!**

Regards,

Sanjen Bariki


Tags: cloud

confluence-cloud

migration