youngmon/atlassian-qna huggingface dataset:
Incorrect number of Commits to Push appear on SourceTree
Asked by Ruben:

I have a particular branch that for a couple of our users keeps showing thate there is stuff to be pushed from them when doing a "Refresh Remote Status". Repeated "Refresh Remote Status" commands toggles them appearing and disappearing. I'm not saying this is a problem with SourceTree but I'm wondering if anybody has any idea of what might be causing this.


Answers:
author: KieranA
body: Hey Ruben,

Sounds like some sort of race condition going on with SourceTree. I've not had this kind of case reported before though. If it's consistently the case, could you log this in [jira.atlassian.com](http://jira.atlassian.com) with some more precise details? (System specs, SourceTree version, repository size etc.)

Thanks very much in advance


author: Ruben
body: It did seem like it was a race condition that was causing this issue. Apparently, it was triggered somehow by the HEAD as I decided to just get rid of it on bitbucket and this fixed the issue.

At this point I will let you know and report a bug if I see it happen again.
mas vs site build
Asked by Jesus Ramirez:

What's the best version? Grabbing for mac app store or the website? Most stable? best features etc..


Answers:
author: KieranA
body: Hey Jesus,

The MAS version is much older and doesn't have all of the stability improvements, new features and bugfixes in it that the version from the website has. This is literally the difference between the two. We no longer publish to the MAS due to the sandboxing restrictions which a tool like SourceTree can't get around without limiting what it can do.

There'll be no more updates in the MAS for SourceTree so I'd highly recommend you download our version from the website.

Hope that helps!
SourceTree will not apply a stash
Asked by asle9634:

When I attempt to apply a stash in SourceTree it returns this error:
> git -c diff.mnemonicprefix=false -c core.quotepath=false stash apply stash@{0}
>
> fatal: ambiguous argument 'stash@0': unknown revision or path not in the working tree.
>
> Use '--' to separate paths from revisions

I'm able to successfully apply the stash using Git. Is there something I need to do to get stash working in SourceTree?


Answers:
author: mazdac
body: It's windows command line or cygwin problem, because { and } are special characters (I've got cygwin64 with git installed - set as system git - and got same problem).

You can reproduce it using cmd.exe and executing command: "git apply stash@{0}", when you add backslashes: "git apply stash@\\{0\\}" then it works fine.  

Using embedded git solves the problem/


author: KieranA
body: Hi Chris. Is this for Windows or Mac? Also, are you using embedded Git or system Git?


author: asle9634
body: This is on Windows and I'm using system Git.


Tags: moderators
code 128: fatal -- difficult to get past
Asked by charles_bates:

Win7x64 Pro, latest SourceTree

I deleted a git working directory that was saved in the left hand pane of SourceTree (can't get to SourceTree to find out what that view is called).

When I start SourceTree, I get this error in a modal dialog:

**---------------------------**

**Error encountered**

**---------------------------**

**'Summary' failed with code 128: fatal:**

**Not a git repository (or any of the parent directories): .git**

**---------------------------**

**OK**

**---------------------------**

SourceTree will continue generating error dialogs whenever it has the focus.

I finally managed to clear the error dialogs long enough to click on the offending entry, then clear the dialogs long enough to press the 'Delete' key, then clear the dialogs long enough to click the red 'X' to close SourceTree.

There must be a better way to handle a situation like this...


Answers:
author: stevestreeting
body: Sorry about that - the errors are each generated by different calls and it's tricky to know when to stop trying. We have this registered here: <https://jira.atlassian.com/browse/SRCTREEWIN-727>

comments: author: sony_sum
body: dont understand


author: sony_sum
body: how to fix it?


author: charles_bates
body: 'Bookmarks' -- that's what the left column contains.
iCloud support to sync Repo's
Asked by Michael Brancato:

Is it possible you can add iCloud support to syncronize the repository bookmarks? I have multiple computers and I would like to synchronize the bookmarks between all my computers without using a third-party app to synchronize the App data.


Answers:
author: KieranA
body: Hey Michael,

I think we've had this requested in the past and this is a great idea. Could you log an issue for us on jira.atlassian.com? It's just so you can flesh out the detail you expect from SourceTree and iCloud sync of bookmarks. The project name for Mac is SRCTREE and for Windows is SRCTREEWIN.

Thanks very much

comments: author: Michael Brancato
body: Thank you, I have submitted the issue as a feature request.

-Mike


author: KieranA
body: Thanks Mike, appreciate your efforts on this one, I'm going through issues (albeit slowly) so you should see a response on it soon.

Cheers
How to change the log view's font?
Asked by Fan Wu:

Sourcetree is a great git tool, but the log view's default display font is too small for me. How to change the default font setting ?


Answers:
author: KieranA
body: Hi Fan Wu,

Currently we don't support changing the log view's font in SourceTree. You can file feature requests over at [jira.atlassian.com](http://jira.atlassian.com) (project SRCTREE for Mac, SRCTREEWIN for Windows) including further details on what you'd like to see within SourceTree. The developers look at those issues personally and respond to them also.

Hope that helps


author: s f
body: can i anyone mention what is the font name used in the sourcetree file preview section?


Tags: font
Generate OpenSSH key by embedded Git
Asked by Dirk Surmann:

Hallo Atlassian-Team,

I use SourceTree with Git. To create OpenSSH key pairs, I use GitGUI. How can I use embedded Git to create OpenSSH keys?

Regards

Dirk


Answers:
author: stevestreeting
body: On Windows you have the option of either using PuTTY or OpenSSH as the SSH client. We generally recommend you use PuTTY because it's Windows-native and has a system tray tool for the SSH key agent, wheras OpenSSH is primarily a Unix-style tool. We do support both, but if you've selected PuTTY as the SSH Client (this is in Tools \> Options \> General) then there's a menu item Tools \> Create or Import SSH Keys which opens the PuTTY key generation tool. If you chose to use OpenSSH then we assume you already have SSH keys in this format and that's why you chose to use it (our setup wizard recomments PuTTY).

So usually if you have no history here I'd advise picking PuTTY in the SSH Client option and creating the key that way. But if you still want to use OpenSSH instead you can, but with the embedded git version you'll need to use ssh-keygen in the terminal (which you can launch from SourceTree using the toolbar if you want).

comments: author: Dirk Surmann
body: Hallo Steve,  

<br />

thanks for your answer. I use Git to generate OpenSSH keys on Windows, because PuTTYgen do not generate accurate OpenSSH keys. I tried this way, but the line breaks in PuTTYgen keys are not accapted by bitbucket.  

Thanks for the hint to ssh-keygen. No Google search give this to me.  

I use system Git on my current system. When trying to launch it via Tools \> Launch SSH Agent... nothing happens. Does this only work with embedded Git?

In addition: Where do I find the ssh-keygen manually?

<br />

Kind regards  

Dirk


author: Dirk Surmann
body: Test


author: Dirk Surmann
body: Sorry. One always forgets the important things. It is the windows version.


author: Dirk Surmann
body: Hallo Steve,

thanks for your answer. I use Git to generate OpenSSH keys on Windows, because PuTTYgen do not generate accurate OpenSSH keys. I tried this way, but the line breaks in PuTTYgen keys are not accapted by bitbucket.

Thanks for the hint to ssh-keygen. No Google search give this to me.

I use system Git on my current system. When trying to launch it via Tools \> Launch SSH Agent... nothing happens. Does this only work with embedded Git?

Kind regards

Dirk


author: Dirk Surmann
body: Sorry. One always forgets the important things. It is the windows version.


author: stevestreeting
body: Is this with the Mac or Windows version of SourceTree?


Tags: ssh
Sourcetree Refresh branches
Asked by dsmoore1600:

Is there a way that my remote branches can be refreshed in source tree? For example, if there is a branch that developer A pushed up to origin, and then deleted from origin, then that branch still displays on my view in source tree under remotes. The strange thing is that I can still check out this remote branch, even though it was deleted and is no longer visable via stash.


Answers:
author: stevestreeting
body: Another option is to use the explicit 'Fetch' button on the toolbar and check the 'Prune' option. This will remove all remote branches which you have a local record of, but are no longer actually present on the remote.


author: cofarrell
body: Hi David,

By default Git does the safe thing and never deletes a remote branch unless explictly asked (which is a good thing IMHO). What you really want is to 'prune' your remote:

[https://answers.atlassian.com/questions/63377/how-can-i-remote-prune-origin-in-sourcetree](/questions/63377/how-can-i-remote-prune-origin-in-sourcetree)

Cheers,

Charles

comments: author: dsmoore1600
body: Thank you for your answer, this helps a lot in keeping everything cleaned up.


author: KieranA
body: Hi David,

This is because we auto-fetch remotes. A pull just merges fetched branches which is why it's still possible when the remote branch has been deleted. You can just delete the branch locally to get rid of it.

Hope that helps

comments: author: Lawrence Dol
body: And how does one know that it's OK to "locally" delete the branch on origin?


author: marpua
body: i am using source tree version 2.3.5.0 which is unable to fetch remote branches locally.

i used Fetch option.it is unable to pull all remote branches locally

comments: author: marpua
body: i am unable to delete my post above. how to delete above post?


Tags: bitbucket-development

bitbucket-server

branch
SourceTree User Guide
Asked by Mauricio Magni:

Hello

I would like to know if there is a User Guide the teach me how to use SourceTree and GIT. It's being hard to me to get a handle on this tool.

Kind regards,

Mauricio.


Answers:
author: KieranA
body: Hi Mauricio,

As Mary says, if you're on the Mac then the Help menu has documentation within it. Currently the Windows version doesn't have any built-in documentation but we are working on it.

If you've got any specific questions feel free to ask, we're more than happy to answer.

Cheers


author: Mauricio Magni
body: Hello Mary, Kieran

I'm using windows. I was looking for help but I didn't find it :(

Let me tell you that I'm new to git and sourcetree, so, I have to get used to these tools.

Kind regards,

Mauricio.


author: m
body: There is documentation that comes installed with SourceTree. Choose Help from the menu. (You don't say which OS you are on.)
This is not a valid Source Path / URL
Asked by Ashley Merry:

When clicking details, it comes up with this: <http://vvcap.net/db/Uv0Ju963FkH5NrLeLNBX.htp>

I know that the source path is valid, as my friend is able to get his to work. Why is mine failing? How can I fix this?


Answers:
author: stevestreeting
body: That looks like you have a firewall installed which is blocking access to port 443 from git - perhaps your system only allow the web browser to access 443?

Please check your firewall settings and any other security tools you have running locally which could be restricting what applications can do.
SoruceTree renaming folders/directories
Asked by Mauricio Magni:

Hello

I cannot find how to rename a folder/directory using SourceTree. I only see files but no folders.

Could anybody point me in the right direction?

Kind regards,

Mauricio.


Answers:
author: KieranA
body: Hi Mauricio,

We don't currently support renaming of folders, just files at the moment because of the way we treat the folder structure. I've filed a feature request for you on JAC, although you may want to indicate if this is for Windows or Mac. We'll likely do the same thing on both platforms. Here's the issue: <https://jira.atlassian.com/browse/SRCTREE-1729>

Hope that helps!


author: cvramirez
body: If having issues with this working via the SourceTree interface, this simple command works perfectly.

1. click on Terminal button in tool bar
2. terminal will automatically open to directory of proper repo
3. type the following: hg addremove --similarity 100

```
The 100 means files must be 100% the same, so if you just moved them, they will be... I you moved and renamed, you can also use a high number, say 93, and perhaps that will work for you. Either way, the command will list all of the files and their percent similarity.
```

```
I got the tip here:  http://hgtip.com/tips/advanced/2009-09-30-detecting-renames-automatically
```

comments: author: Francis Vila
body: I get

* "*hg: command not found* " for ***hg addremove --similarity 100***
* "*hg is not a git command* " for ***git hg addremove --similarity 100***

Also where in those commands do you specify the new name of the folder?


author: Mauricio Magni
body: Thank you Steve.


author: Mauricio Magni
body: Hello Johannes, Kieran

Thank you for your answers. I'm running SourceTree on Windows. I'll give a try to the solution proposed by Johannes.

Kind regards,

Mauricio.

comments: author: stevestreeting
body: Yes, just rename the folder in Explorer then use the Add/Remove button in SourceTree, and Git will pick up that the files have been moved automatically.


author: Johannes Kilian
body: I think it's not possible at the moment (I searched for it myself in vain ...)

As git is a content tracking system, you can simply move the file within your directory tree using standard explorer actions. Doing so the hash-value (sha1) of the file keeps the same - the only thing that changes is the object tree. Git will automatically recognize the change in the directory tree, which can be commited
SourceTree: how to do a diff in the opposite direction?
Asked by Rob Bednark:

How can I do a *diff* in the opposite direction in SourceTree? In other words, how do I get SourceTree to do *diff b a* instead of *diff a b*?

e.g., if my commits are in this order in my commits pane:

```
3333      2222      1111
```

and I select 3333 and 1111, it will show me a diff of changes from 1111 to 3333 (i.e, *diff 1111 3333*).

How do I make it do a *diff* in the other direction, so that it's a diff of changes from 3333 to 1111 (i.e., *diff 3333 1111*)?

Here is a screenshot showing where I selected 2 commits in SourceTree and the corresponding diff:

![](../../upfiles/Screen_Shot_2013-07-25_at_5.32.51_PM.png)


Answers:
author: stevestreeting
body: Not a the moment I'm afraid, the diff between commits is always shown in 'forward history' order.

comments: author: Rob Bednark
body: Bummer! :-( Thanks Steve, I appreciate you letting me know! :-)


author: Erich Eichinger
body: This would be an incredibly useful feature - I submitted a JIRA feature request for this here [](https://jira.atlassian.com/browse/SRCTREE-2176)<https://jira.atlassian.com/browse/SRCTREE-2176>

As a workaround, for now I use the commandline solution

git checkout branch1  
git merge --no-commit branch1  

and preview the potential merge changes in SourceTree


author: Rob Bednark
body: It's not possible, per @Steve_Streeting's answer, but here are some alternatives:

1. Use a different external GUI diff viewer

2. Copy the files from older commit 1111 into the working tree for newer commit 3333, and then see the diffs in the working tree, e.g.,

```
cd {repo}git diff --name-only 3333..1111 &gt; /tmp/list_of_files_changedgit checkout 1111mkdir /tmp/files_changedcp --parents -pr $(cat /tmp/list_of_files_changed) /tmp/files_changedgit checkout 3333cp -pr /tmp/files_changed/* .# (now look at the diff in SourceTree for the working copy)
```


Tags: diff
SourceTree not recognizing --assume-unchanged flag
Asked by Francis Park:

--assume-unchanged is ignored in SourceTree (Windows 1.0.7.0) so I can't change branchs without issuing --no-assume-unchanged command then commit all (ignored) changes.


Answers:
author: stevestreeting
body: This is only an issue if the modified files in the working copy are also modified by switching branches. If that's the case you can use Stash, and you'll find that on the toolbar (the box).


author: Francis Park
body: You can stash your changes then checkout different branch. Not sure currelty stash is supported in SourceTree GUI, but definitely can use command line to do it.

<http://git-scm.com/book/en/Git-Tools-Stashing>
Merge develop into develop?
Asked by macnewbold:

I'm happily using SourceTree with my Bitbucket repositories, and overall it's going great. We are getting one weird thing happening though. The majority of the merges we do where we merge from one branch into another, the default commit messages say things like this:

Merge branch 'develop' of <https://bitbucket.org/ouraccount/ourrepo> into develop

That isn't a typo, the default message says we're merging develop into develop, even when we're merging feature/fooFeature into develop. Is there something we're doing wrong, or some kind of bug we are running into?


Answers:
author: stevestreeting
body: It looks like this is a git repository (rather than hg), is that right? I ask because the hg message is by default shorter, it just says 'Merge \<source\>'.

The thing is in that case the commit message on a merge commit comes from git itself rather than SourceTree. I've never seen it be incorrect like this though, unless you're doing this via git-flow and there's a bug there perhaps.


author: macnewbold
body: Mostly Mac, but I use it on Windows too, and so do several of our users, and I'm pretty sure it has happened there too, but 100% sure it happens on Mac.


author: KieranA
body: Hey Mac,

Is this on Windows or Mac?

Thanks in advance!
Visual studio integration
Asked by Avner:

Do you have plans to build a visual studio plugin ala VisualHG?

thanks

Avner


Answers:
author: KieranA
body: Hi Av,

We haven't got any plans to build a Visual Studio plugin, neither have we discussed it whatsoever. We always accept suggestions though, but for now our focus is the Windows and Mac clients.

Cheers!

comments: author: Avner
body: Thanks for your reply! I think SourceTree is a great app - thanks for building it!

To round off the dev experience for VS devs you really need the integration - here's my vote for a VS plugin :-)


author: KieranA
body: I've filed an issue on JAC here for you: <https://jira.atlassian.com/browse/SRCTREE-1727>

Cheers!
How do I adjust the chart page so I can see the whole thing?
Asked by Karl Garcia:

When opening a flowchart, I am forced to work on it using only half of the screen since there's no way for me to adjust it.

I am unable to remove or adjust the shaded area.

![gliffy.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/262890iEC24CC0AB8E2F57B/image-size/large?v=v2&px=999 "gliffy.jpg")


Answers:
author: Samie Kaufman - Your Gal at Gliffy
body: Hi [@Karl Garcia](/t5/user/viewprofilepage/user-id/5242130) !

The new version of Confluence Cloud introduced an issue for how Marketplace apps like ours are being displayed. We've opened a ticket with Atlassian and they have created a public Jira ticket: <https://jira.atlassian.com/browse/CONFCLOUD-75996>

You can also email support@gliffy.com if you'd like us to keep you updated.

Thanks so much!

Samie

comments: author: Karl Garcia
body: Thanks, Samie!


author: Samie Kaufman - Your Gal at Gliffy
body: Hi [@Karl Garcia](/t5/user/viewprofilepage/user-id/5242130) , just a follow-up note that this seems to be resolved. :) If you're still experiencing any issues, please be sure to let our support team know!


author: Barbara Szczesniak
body: [@Karl Garcia](/t5/user/viewprofilepage/user-id/5242130) See the response in this other similar issue posted today: [https://community.atlassian.com/t5/Confluence-questions/half-screen-for-draw-io/qaq-p/2387726?utm_source=atlcomm\&utm_medium=email\&utm_campaign=digest_notification\&utm_content=post](https://community.atlassian.com/t5/Confluence-questions/half-screen-for-draw-io/qaq-p/2387726?utm_source=atlcomm&utm_medium=email&utm_campaign=digest_notification&utm_content=post)

Seems that the gliffy plug-in is not the only one affected.

comments: author: Karl Garcia
body: Thanks, Barbara!


Tags: cloud

confluence-cloud
List of reading assignments in confluence
Asked by Erin Naismith:

How can i visualise what reading assignments I have or havent completed. I found a previous post explaining how to do it using a comala home page, we use comala, but I dont have a home space for this.

TIA,

Erin


Answers:
author: Jamie Esker _Appfire_
body: Hi [@Erin Naismith](/t5/user/viewprofilepage/user-id/5242033)

Thanks for using Comala products! Unfortunately, this is not something that can be done with Comala Read Confirmations for the time being. I've passed your request to our Product Manager to consider moving it up on the roadmap. As of right now, you'll receive an email notification when you are assigned to read a document and you can also view on the popup within the assigned document.

We have some changes on the roadmap for Q4 that will result in a better user experience. Make sure you are watching the app on Marketplace to receive notifications when these are released.

Feel free to contact our [support team](https://support.comalatech.com/) if you have any other questions!

Jamie, Product Marketing Manager

comments: author: Erin Naismith
body: Awesome thank you for your answer!  
Yeah it would be a cool feature!  
It's so hard to keep track of assignments if you don't read them immediately! And looking at hundreds of pages is just impossible!  
Have a great day,  
Erin


Tags: cloud

confluence-cloud
half screen for draw.io
Asked by Naoki Kobayashi:

Hi all,

I really enjoy using draw.io for embedding diagram into Confluence page, but suddenly draw.io edit screen can be opened only top-half size as attached. we can find blank area in lower half of browser screen. anyone knows why it happens and how to come back to full screen size? thanks.  

![drawio in confluence.png](/t5/image/serverpage/image-id/262876iEB2764F55B6CD0F0/image-size/large?v=v2&px=999 "drawio in confluence.png")


Answers:
author: Marija Radovic
body: Hi [@Naoki Kobayashi](/t5/user/viewprofilepage/user-id/5081185)

Atlassian fixed the issue so everything is back to normal.

Kind regards,

Marija

comments: author: Naoki Kobayashi
body: [@Marija Radovic](/t5/user/viewprofilepage/user-id/1611803) thanks, it fixed now!


author: Bastian -drawio Diagrams-
body: Hi Naoki. The latest Confluence Cloud upgrade broke the full screen dialog (see <https://jira.atlassian.com/browse/CONFCLOUD-75996>). Atlassian and our team are working on it, it will hopefully be fixed soon.

Sincerely,  
Bastian

comments: author: Naoki Kobayashi
body: [@Bastian -drawio Diagrams-](/t5/user/viewprofilepage/user-id/637202) thanks, I confirmed it came back to normal.


Tags: cloud

confluence-cloud