youngmon/atlassian-qna huggingface dataset:
Nuget packages and Source Tree
Asked by dsmoore1600:

I have some nuget packages such as jquery and bootstrap, and they are randomly showing up as unmodified files in my un-staged list in SourceTree, but once I stage my changes (hit the button to stage all changes), they disappear. Does anyone know what may be causing this, or if there are any changes that I need to make? Thank you for your help.


Answers:
author: dsmoore1600
body: Issue seems to have fixed itself, I haven't seen this in at least 3 months now.


author: Gerald Thomas
body: I'm still having issues with this. I recently upgraded my Jquery UI via nuget and now just like David M, I am experiencing this bug everytime I switch branches and go to perform my first commit. Please Atlassian can you fix this issue. It's incredibily unproductive to have all of these files in the working copy changes everytime we switch branches. WHAT IS CAUSING THIS

comments: author: dsmoore1600
body: I am still having this issue as well, but it is much more sporadic now for some reason. It used to happen everytime that I switched branches, but now it is every few weeks.


author: Gerald Thomas
body: I too am experiencing this bug. I am able to replicate the problem the following way. First I clone the repo from bitbucket into SourceTree. Then I open the Visual Studio Solution and as soon as the Solution is open all of my .css, .js, and .txt files that are contained within the packages directory are listed in my "Working Copy Changes" within SourceTree with the ShowPending option selected on the file/status tab. Upon clicking the "Stage All" button, the "Working Copy Changes" becomes blank and the "Staged Changes" remains blank. This is the one an only time that I am getting these files erroneously showing up in the "Working Copy Changes", but... I can repeat the entire process by cloning the repo again. Essentially each time the solution is launched for the first time after a repo has been cloned into Source Tree these files show up in the Working Copy Changes" This can be very confusing to first time users of a newly cloned repo. If anyone has any insights into this bug it would be of great appreciation.

comments: author: dsmoore1600
body: In my case, it isn't only after the first time that I clone a repo, but the first time that I go to commit changes to a branch, after that first time of attempting to stage those changes, they don't show up again.
Sourcetree 1.4.10 crashes on windows 8.1
Asked by N. Schipper:

I am experiencing the following problem even after removing all appdata and reinstalling the program keeps crashing on windows 8.1 making it unusable. The weird thing at work i run it on windows 8.1 to where it works without a problem.

Generally what happens is it starts up okay, but the moment you try to open a window the content of the window is not rendered (buttons that are somewhere on the window do work though dont know why) after a few seconds though the whole application crashes.

Edit: Photo for clarity:

![white page](http://s19.postimg.org/hzt4yf8df/sourcetree_crash.png)


Answers:
author: KieranA
body: Hey there,

Could you raise an issue on [jira.atlassian.com](http://jira.atlassian.com)(project SRCTREEWIN)?

Cheers


author: N. Schipper
body: Still having this error if anybody has any helpfull information that would be great.


author: N. Schipper
body: Only person with this problem?
How to merge a branch back to default using Sourcetree (Mercurial)
Asked by Prem Mariappan:

Hi,

Just wondering how to merge a named branch back to default using Sourcetree please. Effectively the Sourcetree version of [this command line procedure](http://stackoverflow.com/questions/2237222/how-to-correctly-close-a-feature-branch-in-mercurial).

Thanks.  
Prem.


Answers:
author: Prem Mariappan
body: OK - Here's what I have so far:

1. Update to working copy to default by double clicking on "default" under Branches - $ hg up default
2. Bring up context menu on your named branch \& select "Merge your-named-branch into default" - $ hg merge your-named-branch
3. Resolve any conflicts (I was able to do it when selecting the tip with uncommitted changes, finding the files that had conflicts and selecting the appropriate resolution via the *context menu -\> Resolve Conflicts -\> Resolve Using Mine/Theirs or Launch External Merge Tool* on the file)
4. Commit - $ hg ci -m merge

comments: author: Seth
body: That's exactly right.
SourceTree takes 3 seconds to stage/unstage a file
Asked by Graham Borland:

Staging or unstaging a file takes almost 3 seconds. This is on a top-end late-2013 Macbook Pro.

It doesn't make a difference if it's done from the menu or by double-clicking.

It's the same whether it's adding a new file, or staging changes to an existing file. Even a few lines changed in a modestly-sized file (few hundred lines) exhibits this.

I do not have any untracked files.

I tried changing the view filter from "Show Pending" to "Show Modified" and that didn't help either; if anything it made it worse (5 seconds!).

How can I improve this?

SourceTree 1.8.1, using embedded Git.

Macbook Pro, OS X 10.9.1, 2.6GHz Core i7, 16GB RAM


Answers:
author: fuck atlassian
body: <http://www.npackd.org/p/com.sourcetreeapp.SourceTree/1.5.2>ive read people recommending to use this old version, im trying it now, it may fix problems introduced by unable coders in latest versions.


author: fuck atlassian
body: also this - <https://www.plasticscm.com>will give it a shot, friend suggested


author: Seth
body: <https://git-scm.com/downloads/guis>


author: fuck atlassian
body: Years go by they are still not bating an eye. Great company, if only i had simple alternative i would abandon this trashware this instant.


author: Seth
body: An SSD even. I can't think of any good reason for SourceTree to take that long. Hopefully you get some attention from Atlassian on this.


author: Graham Borland
body: Right. It's all local, on the internal SSD. And as I mentioned, the equivalent git commands in the shell execute instantaneously.


author: Seth
body: Not very big, then. The only other good reason I can think of would be if your repository wasn't on a local, internal drive. I would expect a little lag or slowness from a flash drive or network storage.


author: Graham Borland
body: Total size = 32M

.git = 1.6M

Size of tracked files = 5M

(Ignored files 27M approx)

Total number of files (including .git) = 614


author: Seth
body: You mentioned you have no untracked files, and you are staging relatively small changes. What about your repository itself? How big is it?


author: Graham Borland
body: *git add* or *git stash* on the command line are both instantaneous. This delay is definitely coming from Sourcetree rather than Git. To further describe what I see:

A dialog pops up saying "Staging files". This disappears after about half a second.

Two little round spinning progress indicators pop up; one in the working tree, and one in the index. These spin round for 2 or 3 seconds.

The file in question finally disappears from the working tree and reappears in the index area. After the file has appeared in the index, the two little spinners start spinning again for another second or two.

Once the spinners stop for the second time, then Sourcetree settles down and I can continue working. The overall process is at least 3 seconds.


author: Adrian Moerchen
body: How long does git stash on the shell need? At least on Windows SourceTree only invokes shell commands.
Prevent submodules from automatically loading.
Asked by Kyle Smith:

We have several projects with large build dependancies that are included with them. The problem being that we only want to download and install these dependancies the first time you'd need them. We're currently storing these dependancies inside the repository itself (not my favorite but that's what the team went with) so a project that should only be about 100MB to clone is now 800MB to clone. We're looking at possibly breaking these dependancies into submodules but since SourceTree automatically loads them we're no better off. Is it possible to prevent SourceTree from automatically loading the submodules assigned to a git repository?


Answers:
author: EddieW
body: I think you hit the nail on the head Kyle. Binary dependencies should **not** be in source, and versioned.

Consider tools like Gradle, Maven or language specific dependency management solutions (npm, rvm, etc)

Ignoring the pain for developers, your release and deploy processes are all constrained by the same burden. I would think its not condusive to continuous integration either...

And frankly git's journaling system doesn't handle binaries well, and is very expensive to process. (which isnt a problem for most teams today!)

comments: author: Kyle Smith
body: That's what I had expected. I think I'm going to start persuing solutions that will work better with continuous integration.
How to get Sourcetree gitflow action to update version in pom.xml
Asked by Jeen Broekstra:

I am trying to get my head around use of git flow inside Sourcetree. However, I'm struggling with the way it deals with (or rather, _doesn't_ deal with) versions in maven pom.xml files.

For some reason, when I use "start a release" from the Sourcetree Git Flow menu, it does not update the version set in the project pom, but just creates a new release branch. In contrast, when i execute \`mvn jgitflow:release-start\` from the commandline, it does update the pom as I expect it to, so as far as I can tell my project is set up correctly.

What am I overlooking/is there some way to correct this behavior?

This is sourcetree 1.8.1 on Mac OS X 10.9.1, using embedded git-flow by the way.


Answers:
author: Seth
body: In the command you list, it is important to note that maven is not integrated with git. Rather, git has been integrated into maven. SourceTree is a Git client, not a maven client, so when you do gitflow in sourcetree, it is the same as running "git flow release start" at the command line. Your "mvn" command (maven) is a maven command that also runs a git flow command.

Additionally, nvie's gitflow (the one used by SourceTree) does not support hooks, so I can't see any way to emulate mvn's behavior in SourceTree's gitflow. I don't know if you can get sourcetree to use petervanderdoes fork, but if you can, you can make a hook on release start to update pom.xml. You can also join the chorus of people asking SourceTree to switch their embedded gitflow plugin to petervanderdoes, but who knows if/when that'll happen.

You might consider creating a set of Custom Actions that run the mvn jgitflow commands instead of using SourceTree's Gitflow UI, but you'd lose the recognition of your current gitflow state that the UI provides.

comments: author: Seth
body: If you want to request SourceTree to use the petervanderdoes (AVH) fork, do so at [JIRA](https://jira.atlassian.com/browse/SRCTREE-1762).


Tags: git

git-flow

maven
Combining Source Tree and Tortoise Git
Asked by Niels G?ran Blume:

Hey everyone,

I'm wondering if there is / might be any problem with installing and using TortoiseGit and Source Tree at the same time. I like the interface of Source Tree very much, but I like the immediate feedback on the file icons from TortoiseGit.

I am hoping to combine those to, by just running them side by side.

Any experience if that might work?

Furthermore can I specify Diff and Merge for individual file types (in my case .vi from LabVIEW) like in TortoiseGit in Source Tree as well?

Thanks !!

Kind regards

Niels G?ran


Answers:
author: Niels G?ran Blume
body: To extend this question a little more...  
I have a working Diff-Command for TortoiseGit (including the "-marks):

"C:\\Program Files (x86)\\National Instruments\\Shared\\LabVIEW Compare\\LVCompare.exe" %mine %base -nobdcosm -nobdpos

In my understanding I should be able to transfer this to external diff in Source Tree as such:

Diff Command: "C:\\Program Files (x86)\\National Instruments\\Shared\\LabVIEW Compare\\LVCompare.exe"

Arguments: %LOCAL %BASE -nobdcosm -nobdpos

Unfortunately, this is not working with the following error from LabVIEW:

====

An error occurred while running LVCompare.

Open VI Reference in LVCompare.vi\<APPEND\>

VI Path: \<b\>C:\\Program Files (x86)\\National Instruments\\Shared\\LabVIEW Compare\\supportVIs\\_prolvcmp.llb\\%mine\</b\>

====

In my understanding this looks like an error while biulding the path in LabVIEW to be used to compare with the LVCompare.exe.

How is Source Tree appending those paths differently then TortoiseGit?

Thanks !

Kind regards

Niels G?ran
Stashing selected files
Asked by Mattia:

In SourceTree is it possible to stash only some (selected) files and not whole Working Copy?

What is the appropriate Git command?


Answers:
author: Carl Bashir
body: There are no straightforward ways to do it. The command-line solution in the Stackoverflow link in Seth's answer is useful, but I user my own trick in Sourcetree.

To stash select files:

* Stage the files you want to stash
* Then stash all files, but making sure that 'Keep staged changes' is checked.
* Now you only have the files you want to stash in your current working copy.
* Stash all files, with 'Keep staged changes' unchecked.

You can then re-apply the first stash, and discard the files that you wanted to stash.

comments: author: aesmith
body: Great answer. I am sure the command line options work but this was a question on how to do it in SourceTree. Thanks for providing a SourceTree solution


author: Johan Scholten
body: SourceTree also has custom actions, I added a custom action 'Stash selected files', script target 'git.exe', parameters 'stash push $FILE', seems to work and slightly easier once you have te custom action.


author: amird
body: [@Johan Scholten](/t5/user/viewprofilepage/user-id/3519065)   
Hi  
been a while, but how does the stash description is determined in this way?


author: Johan Scholten
body: It just uses the default now for me, something with the branch name included. Might be adaptable, never checked that.

You can also put parameters for a default name I guess, but there is no way in SourceTree to have a popup for filling in a name for the stash it seems.


author: Seth
body: There is a command line solution. Credit to: [](http://stackoverflow.com/questions/5506339/how-can-i-git-stash-a-specific-file)<http://stackoverflow.com/questions/5506339/how-can-i-git-stash-a-specific-file>

git stash --patch

comments: author: Mattia
body: Thank you, all the techniques in the article you linked could turn out useful.


author: danchadwick
body: I submitted a feature request for natively supporting stashing selected files:  
<https://jira.atlassian.com/browse/SRCTREEWIN-9103>

comments: author: L
body: Hey everybody reading this should vote for this issue!


author: Gleb Minevich
body: Mac users: please vote on the same feature request for the Mac version: <https://jira.atlassian.com/browse/SRCTREE-4765>


author: Timothy
body: Ctrl + click the files that you want to stash. You can google the other answer i guess.

comments: author: Mattia
body: I'm on a Mac. By the way:

- cmd + click: selects deselects a single file for further action

- shift + click: extends selection to that file for further action

- ctrl + click: opens contextual menu (same as right click)

- alt + click: does nothing more than normal left click

So on a Mac none of the previous serves the purpose.

I was asking the shell Git command because I'm not sure if it's even possible to do what I want to (= stash single files).
Prevent confiforms entry if iffft-result has http 400
Asked by Steffen Menzel:

Hi,

we create a Jira issue using an IFFFT web request. The issue number is then correctly displayed on the confiforms form.

Now we have noticed that a Confiforms entry is also created if NO Jira issue could be successfully created (e.g. Jira may not be reachable or was expecting another input).

So is there a way to only have the Confiforms entry created when the IFFFT POST came back with an HTTP 200?

Thanks and regards,  
steffen


Answers:
author: Alex Medved _ConfiForms_
body: Hi [@Steffen Menzel](/t5/user/viewprofilepage/user-id/3013409)

That is where the onError event can help you

Set up an IFTTT that reacts onError and [deletes the record based on filter](https://wiki.vertuna.com/display/CONFIFORMS/Configuring+ConfiForms+IFTTT+actions+and+rules#ConfiguringConfiFormsIFTTTactionsandrules-DeleteConfiFormsEntry)

Filter could be current record

```
id:[entry.id]
```

Alex


Tags: confiforms

confluence-server

server
How to get "Current Version" display in a page property cell ?
Asked by Harlet David:

Hello community,

I use a lot the page properties and page properties report macro. I would like to fill one cell of the page property macro with the Current Version of the page. So I can get the Current Version of the page on the page properties report. I can't succeed using the /history macro to limit to the current version only. I didn't fint out if it is possible to get the page_current_version through a variable or something else.

If anyone got a solution it would be nice.

By the way I'm under Cloud version.

Thank you in advance,

Regards,

David


Answers:
author: Andrii Maliuta
body: Hello [@Harlet David](/t5/user/viewprofilepage/user-id/5257214) ,

I can see **Information About Page** addon for Confluence Cloud that is free and can display values of the page that you select:

[https://marketplace.atlassian.com/apps/1219863/information-about-page?hosting=cloud\&tab=overview](https://marketplace.atlassian.com/apps/1219863/information-about-page?hosting=cloud&tab=overview)

comments: author: Harlet David
body: Hello Andrii,

Thank you for your quick answer. I will try out this solution and give you a quick feedback.

It sounds good to me but I need to check it first.

Regards,

David


author: Matthias Gaiser _K15t_
body: Hi [@Harlet David](/t5/user/viewprofilepage/user-id/5257214)

I'm not aware of a simple way to do so.

If it's worth a lot to you, you could develop a simple Forge macro yourself which outputs the latest version number of the Confluence page you integrate it on.

If you'd like to follow that path, you can [get started with Forge here](https://developer.atlassian.com/cloud/jira/platform/getting-started-with-forge/).

The [Get Page Versions endpoint](https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-version/#api-pages-id-versions-get) would probably be the best way to retrieve the version numbers in your app.

Cheers,  
Matthias


Tags: cloud

confluence-cloud
Can Search be customized?
Asked by Merrill Oates DA Admin_Own:

Is there a way to configure or customize general search results in Confluence Cloud?

We would like to have the default search results for all users show a listing based on some pre-determined criteria that are relevant for our organization. Is it possible to pre-set the search criteria for our cloud instance?


Answers:
author: Sayed Bares [ServiceRocket]
body: [@Merrill Oates DA Admin_Own](/t5/user/viewprofilepage/user-id/239706) You can't pre-set the search criteria for all users. However, you can add a [live search macro](https://support.atlassian.com/confluence-cloud/docs/insert-the-livesearch-macro/) in a confluence page and then set its parameter. If your users uses that page to search for content then the result will be based on your pre determined criteria.


Tags: cloud

confluence-cloud
Cannot write comment in Edge
Asked by Hojat Khosrowjerdi:

Hi,

When I open Jira in Edge, I am not able to make any comment. However, this issue does not exist in Firefox.

I tried to clean the history and cookies and restart, but didnt help.

any ideas?


Answers:
author: Dan Breyen
body: Hi [@Hojat Khosrowjerdi](/t5/user/viewprofilepage/user-id/5257168) welcome to the community! I'm also using Jira in the cloud and I'm able to add comments today without issues. Some troubleshooting steps would be to make sure you're on the latest version of Edge, and you have all the Windows updates in place. Maybe if your windows version isn't the latest (22H2) there could be an issue. Also, is it just your user that's having issues? Can other people add comments with Edge? Have you tried a different PC to see if it's the same issue? Has your PC been rebooted in awhile?

Can someone else use Edge on your machine and login to Jira? Does it work for them?

Narrowing down the conditions might help hone in on where the issue lies.

Hope that helps.

comments: author: Hojat Khosrowjerdi
body: Hi [@Dan Breyen](/t5/user/viewprofilepage/user-id/5086375) , thanks for your comment!

It is very difficult for me to understand the root cause, but I see that the windows is lately updated, the Edge is also updated. This issue was not present before and suddenly appeard only for me.

Since Edge is controlled by organization, I cannot uninstall it.

Is there any magic option that can fix this problem?

BTW, this problem exist also in Chrome, but not in Firefox.

Anything in common between Chrome and Edge?


author: Peter Heffner
body: My experience is similar. The workaround for me is to refresh the page (F5) immediately before initiating COMMENT. I've had the same issue regarding the COMMENT subfunction within changing STATUS of an artifact. Same workaround--i.e., before initiating the change-state function which requires the comment, refresh the page (F5).  
What a nuisance. I have the latest EDGE and my organization keeps my Windows 10 extremely current. Yes, I think something changed with EDGE when we weren't looking.


Tags: cloud

confluence-cloud
Remove profile pictures in blog
Asked by PJ Dal Pozzo:

Hi all! Does anyone know how to remove the profile pic from the blog posts when using the blog post macro? If the user has not added their profile pic, it just becomes a large circle or if the user is a guest user, there is no image at all! It take up space and is not 'on-brand' for us so how do we disable it?

![image.png](/t5/image/serverpage/image-id/265927iEE9CEDFF99C92385/image-size/large?v=v2&px=999 "image.png")![image.png](/t5/image/serverpage/image-id/265928i6BB852D9AC9B7D9E/image-size/large?v=v2&px=999 "image.png")


Answers:
author: Brant Schroeder
body: [@PJ Dal Pozzo](/t5/user/viewprofilepage/user-id/5091612)

There is not a delivered feature to do that. You can submit an enhancement request here. <https://jira.atlassian.com/secure/Dashboard.jspa?selectPageId=10440>

comments: author: Brant Schroeder
body: [@PJ Dal Pozzo](/t5/user/viewprofilepage/user-id/5091612) Can you accept this to help others? Also if you submitted a feature request could you post it here so others can vote for it?


Tags: cloud

confluence-cloud
Unable to open certain pages in Safari.
Asked by Delasha Long:

One of our employees is unable to access a homepage in Confluence on Safari. The page attempts to load, but never does, and ends up blank. Can you help us out?

- Delasha


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

Safari is supported so it should be not the issue (<https://support.atlassian.com/atlassian-account/docs/supported-browsers-for-atlassian-cloud-products/>).

Please verify that there are no network issue at his side and check network panel on safari in order to figure out what is the issue (<https://wpbeaches.com/where-are-the-safari-web-developer-tools-and-how-to-show-and-dock-them-in-a-browser-window/>)

Fabio


Tags: cloud

confluence-cloud