youngmon/atlassian-qna huggingface dataset:
SourceTree "diff against current" behavior
Asked by Peter Lindquist:

I'm using SourceTree 1.5.6.

* I have the master branch checked out
* I right-click a remote feature branch and choose "Diff against current"
* SourceTree thinks for a while, but doesn't change the ui

What is the expected behavior? I was expecting a changeset of my local master branch versus the remote branch. Ultimately I'd like to open that diff externally.. using FileMerge.

Additional info:

* SourceTree successfully opens FileMerge when I use "External Diff" on a specific file in the Log View.
* I can use opendiff from the command line without errors
* Xcode 4.6.2
* Mountain Lion (10.8.3)

If I'm going about this the wrong way, is there a better way to diff a feature branch against master?


Answers:
author: KieranA
body: Hi Peter,

Just as a quick note to start, if you're using the App Store (as I notice you're using 1.5.6) then we no longer publish to the App Store. You can get SourceTree direct from <http://www.sourcetreeapp.com/>

As for your problem, "Diff against current" basically selects two points in the log view to show the difference between those two branches. Here's a quick example I took:

![](http://i.imgur.com/G97AAId.png)

I said "Diff against current" from master, and current is develop. So it just selects the head commit between the two branches, rather than giving you a diff between two different points. If you want to see the changes between revisions of a file you can use "Blame selected" option when command clicking on a file, and you can see the entire history in a log view of a particular file by right clicking and hitting "Log selected".

Hope that helps, if not, feel free to ask more questions

comments: author: Peter Lindquist
body: Kieran-- thank you much for the quick response.

I switched to 1.6.0. All other factors remain the same.

It turns out that it wasn't (just) me-- version 1.5.6 didn't show a diff, but 1.6.0 behaves like you describe. Specifically it seems to execute the equivilent of:

*git difftool master origin/\<feature-branch\>*


author: AlecRust
body: I have the same problem, running 1.9.2.


author: Peter Lindquist
body: Upgrading to 1.6.0 solved the problem. Specifically it seems to execute the equivilent of:

*git difftool master origin/\<feature-branch\>*

A perfectly reasonable thing to do.
Hg is absent for windows version
Asked by borN_free:

How can I add supporting of Mercurial for windows version of SourceTree?


Answers:
author: KieranA
body: Hi Maks,

Mercurial isn't yet supported in the Windows version, however will be added very soon. [The FAQ states](http://www.sourcetreeapp.com/faq/) "Due to time constraints, only Git is supported in the beta version. Mercurial support will be coming later in version 1.0."

Hope that helps


author: borN_free
body: Thank you
What is the best way to register for SourceTree licenses as an enterprise?
Asked by Cathy Sanders:

We generally make software available to our developers as a standardized install and hadle the licensing for them. With SourceTree, the software is free, but you are required to register it. What is the recommended way of doing this so that each individual developer does not need to register their install of SourceTree? Is it acceptable to register once with the company listed as the user and just have all developers import that license file?


Answers:
author: Yilin
body: Please check Steve answers for your question :

<https://answers.atlassian.com/questions/166460/what-is-the-best-way-to-register-for-sourcetree-licenses-as-an-enterprise>
Merging abort: outstanding uncommitted changes (use 'hg status' to list changes)
Asked by Andreas:

Hi,

I am new to mercurial and source tree (on mac) and encountered a problem when merging. Following error message appears:

"Errors During Merge

abort: outstanding uncommitted changes  
(use 'hg status' to list changes)"

There are uncommited modified and untracked files.

A developer who uses tortoise for windows told me that it should work although there are uncommited changes.

What do I need to do here?

Thanks,  
Andy


Answers:
author: stevestreeting
body: It's possible that Tortoise just Shelves all your uncommitted changes automatically when you try to do this. Personally I think that's a bad idea, because you may have just forgotten to commit.

You should either commit or Shelve your changes before merging, your choice.
Free SourceTree ro Windows license confict
Asked by vvkuznetsov:

I've tried SourceTree on Mac and have got trial lecense for it. It expired and now i can't use free client for windows. It's connecting to my account and after check license fail to run. And I don't want to change my account.

help me please.

It's how error looks

[https://skydrive.live.com/?cid=3302BD30FA4D7D41\&id=3302BD30FA4D7D41%21344](https://skydrive.live.com/?cid=3302BD30FA4D7D41&id=3302BD30FA4D7D41%21344)


Answers:
author: stevestreeting
body: Sorry about this, a server-side change to the licensing system had an unexpected knock-on effect on the online registration system in Windows. I'm fixing this for 0.9.2.2, but in the mean time you can perform the registration manually like this:

1. Go to <https://my.atlassian.com/license/sourcetree> and log in with the details you already used
2. You should see your 'SourceTree Free License' in the Licenses page
3. Click 'Download your SourceTree license' on the right hand side, this will download a file called sourcetree.license
4. In the SourceTree registration window, click the button 'Import License...', and browse to this file

Apologies for the inconvenience!

comments: author: vvkuznetsov
body: Thank Steve.

It had helped. I could make it myself but I misunderstood phrase "Support Expires" "04 Feb 2013"

I thout that my license expired and it's meaningless to download it.


author: KieranA
body: Hi Valentin. Just as a sidenote, SourceTree is completely free, it's just after 30 days we require you to signup. There's no implications of this signup, just that we use it to gather statistics on usage. Are you saying here that you registered on Mac and it caused this problem on your Windows version of SourceTree?


Tags: licence
Installation folder on Windows
Asked by balta:

Hi there!

Title (almost) says it all: how can I set a custom installation folder for sourcetree under windows 8? I'd like to put it on an external hard drive and not on the main disk (C).

I've checked the F.A.Q. and I've been fiddling with the installer but could not find any options about customizing it ... actually I don't even know were sourcetree is installed right now, and I don't really it!

Thanks for your help.

\\(\^__\^)/


Answers:
author: Bob The Git-terer
body: Its a clickonce application, so windows decides for you. Normally under the Users/\<yourlogin\>/AppData/Local directory in Win7. It will be in similar places on other versions of Windows. A google search for clickonce will tell all.

comments: author: balta
body: Well then, I guess I'm out of luck.

I'll just #dealwithit.

Thanks for your help!


author: Andrei Z
body: never thought Id not find installed windows application in 2019, but it happened with source tree. thanks for your help.


author: stevestreeting
body: The new installer is available now: <http://blog.sourcetreeapp.com/2013/05/13/new-installer-updater-for-sourcetree-for-windows/>

comments: author: balta
body: Amazing! I'll give it a go later today!  
Thanks a lot for this!


author: victor_bustamante
body: Stride install fail when user directory is a soft link

Please help me

comments: author: Shannon S
body: Victor,

Please raise a new question so that our Stride users can help you with your issue. This question was regarding Sourcetree so it's really best to create a new question.

Shannon


author: stevestreeting
body: Bob's right, but I'm currently investigating moving to a different install / update system, because ClickOnce has been causing us too many random support problems and isn't that friendly to some corporate setups. So once this is done you'll be able to tell SourceTree where to install in future.

comments: author: balta
body: That's great news, I hope to see this happening sooner than later!

Thanks for letting us know.


Tags: custom-field

directory

install

path

windows
git log failed with code 128 fatal: bad revison origin/master
Asked by 1 1:

I am first time to use this great software , but when I commit one file to my bitbucket , I can see the file on my repositroy, it only come with this error "git log failed with code 128 fatal: bad revison origin/master" .

Please help me to solve this problem . Thanks


Answers:
author: eiger3970
body: I have the same error 128, please assist.


author: KieranA
body: Hi there,

I've filed an issue for this one as someone else had reported it here: <https://jira.atlassian.com/browse/SRCTREEWIN-826>

Hopefully it'll be addressed but we may require further information. You can watch the issue on JIRA instead if you wish.

Cheers


author: 1 1
body: I use Source tree client on mac to commit source .
Stuck on Sourcetree version 0.9.1.1
Asked by Bob The Git-terer:

Hi, hopeing you guys can help. My Sourcetree doesnt want to upgrade from 0.9.1.1. When I go to "Check for updates" the popup window insists 0.9.1.1 is the latest with a big green tick box even though under the "Latest Available" there is version 0.9.2

Any way I can install the latest (very keen on the gitflow improvements)? I have tried uninstalling/reinstalling/cleaning up clickonce folders all to no avail.


Answers:
author: Bob The Git-terer
body: So I have downloaded and installed the new link from the latest offline installer from [https://answers.atlassian.com/questions/149591/is-there-an-offline-installer-for-windows-version-of-sourcetree](/questions/149591/is-there-an-offline-installer-for-windows-version-of-sourcetree) and now I am good to go. didnt quite solve the original issue, but at least I can check out the git flow stuff now. Thanks!

comments: author: stevestreeting
body: Glad you have it working. Very rarely it's possible for the ClickOnce database to get screwed up somehow and you have to manually clear everything out, this might have been what happened in your case.

I'm investigating alternative install / upgrade tools for the future because ClickOnce is causing too many random issues, so hopefully this will be a thing of the past soon.


author: Bob The Git-terer
body: Thanks for the reply Steve. Yeah have tried that. No luck for me unfortunately.

Weird thing is that the exact same problem is happening with another colleage on mine. But another colleage it is fine (there are 3 of us, 2 having this exact issue, 1 not).

Any other suggestion?


author: stevestreeting
body: This usually happens if you've had to use the 'Repair' option at some point because of an update problem. If you uninstall SourceTree from Control Panel \> Software and re-install it from [sourcetreeapp.com](http://sourcetreeapp.com), it should sort this out. You won't lose your bookmarks or open tabs etc by doing this, but options will be reset to the default again.
Can Source-tree git client (Windows) connect to GERRIT hosted git repositories ?
Asked by Mohan Krishnan:

Hello ,

Can i use Sourcetree for push and pull operations over ssh to a GERRIT hosted remote git

repository ?

Regards,

Mohan


Answers:
author: stevestreeting
body: You can use SourceTree to push and pull with *any* valid git remote. However Gerrit tends to use an extended push syntax / settings to be specific about what changes are for review - if you need to specify those on demand you would be better to push from the command line, but if you can define them as a static rule in your .git/config then SourceTree will respect that (see the section about editing .git/config here <http://gerrit.googlecode.com/svn/documentation/2.0/user-upload.html>)
Unable to install the Source Tree app
Asked by Alvin Yin:

I can not install the Source Tree in my Windows 7 PC. but my other colleagues can.

I am wondering if you have any other requirements.


Answers:
author: Bhushan Nagaraj
body: Do you have a Git client installed on your system?

If yes you can choose the second option and point to your GIT installation (like C:\\Program Files\\Git\\bin)

If not, you will need to choose the first option and SourceTree will download it for you

comments: author: Alvin Yin
body: Maybe that is the problem, I will check with my colleague to resolve it. thanks


author: Alvin Yin
body: I think I have installed Git client on my system by having downloaded/installed Visual Studio 2012 Update 2, and downloaded/installed the Visual Studio Tools for Git.

After that, I am able to clone a repository. But I still got the dialog asking me to choose (1) Download an embedded version of GIT (2) Browse to the location of GIT on your system. (3) CHeck again (4) Exit

I am wondering what wrong it is. thanks


author: stevestreeting
body: Visual Studio's version of Git is stored in its own location, it's not a full copy of Git that SourceTree can use.

Either install a \*standard\* version of git from <http://git-scm.com> (which SourceTree can use), or allow SourceTree to download its own embedded version of Git (which is actually a full it install, it's just zipped up and will be isolated from the rest of your system much like the Visual Studio version is).


author: Alvin Yin
body: It works, thanks for all your helps.


author: Alvin Yin
body: After I run the setup.exe, before the user info registration, the dialog appears and asks me to choose (1) Download an embedded version of GIT (2) Browse to the location of GIT on your system. (3) CHeck again (4) Exit, Do you know what option I should choose?


author: Bhushan Nagaraj
body: Hey Alvin,

You need to provide more info. Are you seeing an error or something?
Feature Request: indicator for remote repository refresh status
Asked by prime31:

It would be handy to have a loading indicator next to each repo shown while it is being checked for updates and then a checkmark (or other icon) to indicate that they are up to date and have had their remotes checked for updates.


Answers:
author: prime31
body: This is a feature request for both the Mac and Windows versions. I made a mock up of what I mean here: ![](http://f.cl.ly/items/0C1U0B431A2w1R3A2h3r/sourcetree.png)


author: stevestreeting
body: We had an idea about this before but it was on the back burner since no-one had really raised it: <https://jira.atlassian.com/browse/SRCTREE-521> - I've added a link to this thread.


author: AmandaA
body: Hi Mike,

May I know is this feature request for Soucetree on Mac or Windows?

You can riase an feature request/Improvment ticket at our developement side <https://jira.atlassian.com/browse/SRCTREE> under the Sourcetree project. Can you please provide some screenshot that could explain better.

Thanks
How do I export a source tree repo without the metadata?
Asked by Gabriel Smith:

In SVN I used to right click and export the repo and the project would export at a smaller size without SVN metadata. Is this possible in sourcetree git?

Thanks,

-Gabe


Answers:
author: Jeffrey Schilperoord
body: Any update on the missing feature in the Windows version ?


author: thvig
body: What is the status this demand ?

Thanks


author: stevestreeting
body: The 'Archive' feature is available in the Mac version already, but it's still on the TODO catch-up list for Windows. It just maps to the command line 'git archive' as linked by Kyle just earlier: <https://www.kernel.org/pub/software/scm/git/docs/git-archive.html>. We're adding missing Mac features to Windows as fast as we can :)


author: Kyle Cordes
body: Git does a great job of this with the git archive comment. Link below. Maybe someday the SourceTree folks will add a menu option for it, but the capability is already there on the command line.

<https://www.kernel.org/pub/software/scm/git/docs/git-archive.html>

comments: author: ORLANDO VAZQUEZ
body: Hi Kyle, I'd like to be able to export the expanded tree from the Cognos source pane/window. I don't really know coding that well but can follow directions. Is there an easy way to do this ?

![CognosSourcePane.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/31479i8706D1D357139ADA/image-size/large?v=v2&px=999 "CognosSourcePane.PNG")


author: Kyle Cordes
body: Git does a great job of this with the git archive comment. Link below. Maybe someday the SourceTree folks will add a menu option for it, but the capability is already there on the command line.

<https://www.kernel.org/pub/software/scm/git/docs/git-archive.html>
See if a remote branch is newer then local
Asked by Justin Carlson:

In sourcetree, in the left bookmark column. When there has been changes to a local repo, the green check mark icon turns into the yellow icon indicating there has been changes. Is there any indication when a remote branch has been changed or a way to check if the remote branch has been changed?


Answers:
author: stevestreeting
body: You can use the 'Fetch' button to download the latest commits for remote branches, and then you can see those commits in the log. Also if any of your local branches are tracking these remotes you will see indicators against your local branch in the log and in the sidebar, showing you how many commits you are behind.

comments: author: stevestreeting
body: FYI the Mac version has an option to automatically fetch every 10 minutes, but this isn't implemented in Windows yet, so you have to use the Fetch button.


author: John Burns
body: In the new version for windows, next to each branch is a number and arrow showing how many commits ahead or behind that branch is.
Maximum file size for diff in Sourcetree?
Asked by Hanspeter Bleuler:

What's the maximum file size for diff in Sourcetree? I get the message - diff suppressed (file size or pattern). My file is 1.8 MB. What does "pattern" refer to?


Answers:
author: stevestreeting
body: There was actually a bug in the suppression algorithm that meant it was ignoring what you set the suppression levels to in Options \> Diff and just using 1Mb. That has been fixed in 0.9.2.


author: Joshua White
body: I believe this is again broken in a recent version of SourceTree (3.2.1) - the suggested fixes do not seem to work?

comments: author: Tabrez Pasha
body: Was facing the same issue with SourceTree(3.2.1). Had to update the text size limit from 1MB to 2MB then it started working. Hope this helps.


author: Hanspeter Bleuler
body: Thanks Steve

After setting the file size limit to 2MB it works.

comments: author: Shobhit Chourasia
body: It works. Thanks.


author: darylchuah
body: Hi Hanspeter

I guess this has been discussed before in here: [https://answers.atlassian.com/questions/156779/difference-in-diif-suppression-between-windows-and-mac-sourcetree](/questions/156779/difference-in-diif-suppression-between-windows-and-mac-sourcetree)

Hopefully it helps!

Cheers :)

comments: author: Hanspeter Bleuler
body: Hi Daryl

I'm on a Mac and file up to 1Mb work fine. I don't know if the 1.8Mb is the reason for the message - diff suppressed (file size or pattern) or is it "pattern". I don't know what "pattern" means. The file compares OK when using the "External Diff" button which starts FileMerge on my MacBook Pro (OSX 10.8.3)
How to Show Subversion Tags and Branches in SourceTree
Asked by KristopherJohnson:

I am using SourceTree (for Mac) to access a Subversion repository that has the standard trunk/branches/tags structure. The repository has several subtrees under the tags tree, and I can see them if I run "git branch -r" from the command line, but SourceTree only displays the "trunk" branch.

Is there a way to get SourceTree to display these branches and tags?


Answers:
author: KristopherJohnson
body: Nevermind. Turns out that I had "Current Branch" selected. Selecting "All Branches" shows the Subversion branches.


Tags: git-svn
Window 7 Duplicate git clone issue
Asked by Dean Mraz:

I recently updated and started having issues with two local git repositories that are identical. I have one on the master branch and another on different branch. They act as if they are communicating with each other and modify/delete files between the two even though they are both at the head of their branch.


Answers:
author: stevestreeting
body: I don't think it's really a good idea to have your git repo in a Dropbox folder, git is quite dynamic about the handling of files in there and although it theory it should all work, I'm not confident that there won't be side-effects in doing that.


author: Dean Mraz
body: Cloned from the same remote resource. I think it actually has something to do with having my home computer and work computer sharing the same files via dropbox. I use source tree on both and have all the same local repository listings. Do you think having them both open at the same time and making edits from one computer can cause issues? I do remember seeing both computers with the issue and having to reset to head commit.


author: Dean Mraz
body: Cloned from the same remote resource. I think it actually has something to do with having my home computer and work computer sharing the same files via dropbox. I use source tree on both and have all the same local repository listings. Do you think having them both open at the same time and making edits from one computer can cause issues? I do remember seeing both computers with the issue and having to reset to head commit.


author: stevestreeting
body: Did you clone one from the other locally, or both from the same remote source? When you clone locally git shares data storage between the 2 repositories using symlinks - however this shouldn't change what your working copy looks like or where your branches are pointing, it just means that commit objects may only be stored once.
SourceTree commit and push auto
Asked by Melanie Strahl:

Hi !

Is it possible to send my updated files without having to click on "commit" and "push" ?   
SourceTree can it automatically commit on bitbucket while there is not conflict ?

Thanks


Answers:
author: Melanie Strahl
body: Thank you but I thought more to not need click on sourceTree. When my file is updated (local), it's automatically sent to bitbucket via sourcetree which alert me if conflict.

comments: author: KieranA
body: I'm not sure how that would work, Melanie. This wouldn't be done via SourceTree if that was the case, you'd need to call Git/Hg directly by using some OS-level hook that looked for files being saved in a specific directory and then calling Git/Hg itself.

I wouldn't recommend this, however, as file saves are so frequent you'd be committing and pushing constantly. At what point would you commit and save? The moment the file was saved?


author: Melanie Strahl
body: I update my files really often. This was to able to work in team without problems to overwrite the work of the others. We would like send our code on server when we save file i.e commit + push when we save file.

It's to save a little time.


author: stevestreeting
body: This is really not how DVCS is supposed to work, one of the major advantages of it is that you work locally most of the time and push / pull less frequently. It sounds like you really need some kind of real-time collaboration tool like <https://squadedit.com/>


author: Melanie Strahl
body: Ok, I will see. Thanks a lot !


author: KieranA
body: Hi Melanie,

Sure is, on the commit sheet you can click on a checkbox towards the bottom of the sheet that says "Push commit immediately to.." and depending on whether you're using Mercurial or Git there may or may not be a drop-down list of where to push it to.

![](http://i.imgur.com/BhHtzrq.png?1)

Hope that helps


Tags: automation

commit

push