youngmon/atlassian-qna huggingface dataset:
SourceTree for government agency use?
Asked by brucetp:

I'm just trying to determine if a State Government IT department can legally use SourceTree? I'm unclear and would just like clearification from Atlassian.

Thanks


Answers:
author: Seth
body: SourceTree is requires a license to use, but that license is free for any scenario.

You might try reading [previous](/questions/303753/sourcetree-free-license) [answers](/questions/154537/is-sourcetree-free) regarding the lack of licensing restrictions.

You should consult a lawyer with regards to whether there are any federal or state laws regarding use of third-party software with state government agencies.


Tags: legal
SourceTree crashing on opening repositories after upgrade to 1.9.5
Asked by Andrew Jensen:

I upgraded to SourceTree 1.9.5 today, but it started to crash on every launch. I happened to have an old copy of 1.5.7 so I removed the new version and installed the old version in its place. I was then able to open repositories. I tried switching back to 1.9.5 (because maybe it was just corrupted user data or something) but then I was able to open the bookmark browser but not open any of the repositories. Every time I double-clicked on a repo it would try to open its window and crash.

I've attached the crash report. (sourcetree-crashlog-2014-07-08.txt)


Answers:
author: ZARHLOUL SAAD
body: Hi,

I had the same problem after upgrading to 1.9.5.0

Indeed, I have the problem (only) when I do a commit from the context menu.

Remember to update embedded Mercurial and git from Tools menu \> Options (onglet Git \& Mercurial)

Best,

Saad


author: Olawale Adewoyin
body: Guys, trying running it as Administrator. :) That's how i got mine working.


author: KieranA
body: Sorry about this, we've been actively working on a fix since we were made aware of the problem yesterday. We'll be issuing a fix shortly, likely tomorrow for those 10.7.5 users affected.

Cheers

comments: author: Chris Venus
body: Hi Kieran. I've just installed 1.9.5 today (running on Windows 10) through the sourcetree automatic update and encountered this same bug. If you've known about this bug for more than two weeks why are you still pushing the bugged version which has made sourcetree completely unable to load?And do you have any idea when you will actually get a fix out for this? I assume the reference to 10.7.5 is referring to an OSX fix rather than a windows fix?


author: Michael Miller
body: Hi - scroll to the bottom of this page for Atlassian's link to the 1.9.4.1 dmg:

<https://jira.atlassian.com/browse/SRCTREE-2530>


author: Phillip Duba
body: I'm in the exact same situation and my crashlog looks the same. I'm also stuck on 10.7.5 and can't upgrade due to business policies right now. How does one revert back to 1.9.4?


author: Jonathan Doughty
body: Similar story here, repeated crashes when opening repositories either from the Bookmarks window or from the File... Open Recent menu selections. I am also (stuck on) on OS X 10.7.5

(sourctree_crash.txt)


author: Enrique Viera
body: Same problem here. Sourcetree is crashing after upgraded to 1.9.5. The crash happens while the app is trying to display the bookmark window or restoring the previous. This is on OSX 10.7.5. I tried wiping the preferences but that didn't help ([](https://confluence.atlassian.com/display/SOURCETREEKB/Wiping+SourceTree+Preferences)<https://confluence.atlassian.com/display/SOURCETREEKB/Wiping+SourceTree+Preferences>). Also tried downgrading to 1.9.4 and now the app windows are not even displayed.


author: wlanni
body: I upgraded today, and am crashing on open as well. Tried with both reopening existing repository windows as well as just opening the app on its own. I'm a little hesitant to delete all my preferences as that's a lot of projects to recreate. (sourcetree-1.9.5-crash-report.txt)
Newbie needs advice on refreshing repository on disk.
Asked by John Novack:

I have used just about every sccs from rccs through svn, but this is my first time using git, stash, and SourceTree. I have downloaded a repository to my desktop successfully, but have no idea how to refresh it. Trying Clone / New brings up a dialog box with prompts that may be clear as gin to experienced users, but I have no clue (and no manual - what's up with that) that tells me what goes in each text field, particularly 'Source Path / URL:' and Destination Path. I tried the same remote source and desktop folder that the current repository resides in, but got an error message saying that the directory already exists and is not empty. All I want to do is refresh my existing desktop repository with the updated original in git.


Answers:
author: Seth
body: Note that you'll only be able to Stash changes if SourceTree recognizes the folder as a repository.


author: John Reynolds
body: John,

If you made changes, consider first creating a branch or "Stash save" so you don't lose your work.

Clone will basically re-create the repo. Since you already have that, it's not what you probably want.

You most likely want either git "pull" or fetch", depending on what you want done to the code.

May I suggest this [simple guide](http://rogerdudler.github.io/git-guide/), and in particular the section on "replace local changes" which might help.


author: Seth
body: For every newbie, I recommend reading portions of the [Git Book](http://git-scm.com/book). Focus on sections 1.1-1.3, and chapters 2-3.

For starters, it is unclear what you mean by "I downloaded a repository". This is not a typical step when setting up a Git repository. To find out whether what you doesnloaded was actually an entire repository, or just a copy of the latest versions of the files, find out whether you have a .git directory in the root folder (will be a hidden folder). If you do, you'll want to skip the "clone" stage, and instead "Add Working Copy". If there is NOT a .git folder, you won't want to use this download as the basis of your repository.

The Stash UI should provide a "Clone in SourceTree" button. Click that, and it should launch SourceTree with the appropriate URL pre-populated. You'll need to choose the destination path for the repository (where you want your local copy to reside).

Once you have a repo set up in SourceTree, understanding the UI is dependent on understanding Git. The terminology is identical in nearly every instance.


Tags: bitbucket-server

git

windows
System.ComponentModel.Win32Exception: The System cannot find the file specified
Asked by Peter Le:

I've created a new repository on BitBucket and now I am trying to clone it in source tree, but this is what I am seeing:

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

When I click the details button, this is what I see:

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

I've tried:

1. Removing the bookmark and re-adding it to SourceTree
2. Creating a new repository and cloning it in SourceTree
3. Uninstalling -\> restarting PC -\> reinstalling

To no avail.

Someone please help, this is affecting not one, but all of my projects.


Answers:
author: Seth
body: Sounds like SourceTree is installed, but not Git.

Go to Tools \> Options \> Git, and note whether you are using system or embedded Git, and whether you have an option to install an embedded Git.

comments: author: Peter Le
body: Prior to the issue, my SourceTree was using the embedded Git so all I had to do to fix the issue was by downloading and installing Git. Thank you very much for your answer!


author: Jonathan Durey
body: Yep, that fixed mine, too! THANKS!


author: Jose
body: Thanks man, 5 days stuck with this!!


author: akhildath.vn
body: I had the similar problem, but even after changing it to system git the issue persists, later i had to run sourcetree as admin which helped me get pass this error.


author: GlElf
body: ? ???? ???? ??????? ????????, ??????? ?????????? ??????????? GIT,


author: Manasa Polsani
body: Hi,

Even I'm getting the same error. I checked the Sourcetree option and it is using System Git only. Please help how to overcome this error and proceed with cloning.
Sourcetree licence problem
Asked by Geza Kiss:

Hello,

I would like generate my Sourcetree licence file this site: <https://my.atlassian.com/license/sourcetree>

But I have got this bug:

"We are currently experiencing difficulties.
Visit our [Status Page](http://status.atlassian.com/) for more information." {#toc-hId-1812617469}
=================================================================================================================================================

What's the problem? My email address is valid!

BR,

GK


Answers:
author: Geza Kiss
body: After 1 day i could use it.


author: Timothy
body: Seesh. It said give it a while. I can get it now though. Lol.
Use separate version tag prefixes for releases and hotfixes
Asked by T.J. Crowder:

SourceTree's built-in gitflow features are terrific. One change I'd like to see is to optionally use a *different* version tag prefix for hotfixes than for releases. Currently, if you specify a version tag prefix when initializing gitflow, it's used both for the tag when you merge a release branch into master *and* for when you merge a hotfix into master. I'd rather use separate prefixes for that.


Answers:
author: Seth
body: Unfortunately, SourceTree simply wraps [nvie's gitflow plugin](https://github.com/nvie/gitflow), which does not allow this type of configuration and has had no active development in nearly two years, so I would not expect any change here.

There is a [feature request](https://jira.atlassian.com/browse/SRCTREE-1762) to switch SourceTree to a popular, active fork of nvie's gitflow ([](https://github.com/petervanderdoes/gitflow)<https://github.com/petervanderdoes/gitflow>). I don't know if this fork allows for the separate prefixes you're requesting, but if you requested there, it would stand a chance of being added.

comments: author: T.J. Crowder
body: Thanks Seth! Very helpful.


Tags: feature

git-flow

moderators
Sourcetree is constantly giving me a spinning rainbow - Barely usable
Asked by Sanjay Poyzer:

Sourcetree has become barely usable at all in the last few days, increasingly so and now I can't do anything (even scroll) without it throwing the spinning rainbow and not responding. This sometimes lasts for a few seconds but increasingly will happen for so long I will just force quite.

Running OSX 10.9.3 \& sourcetree 1.9.3


Answers:
author: Seth
body: Have you tried upgrading SourceTree? I believe the latest version for Mac is 1.9.4.1.

comments: author: Sanjay Poyzer
body: Ah yes, sorry that was a typo. I have the latest version.


author: Seth
body: It's recently been upgraded again (1.9.5), so I would recommend uninstalling and reinstalling.
Generate SourceTree Licence error
Asked by Alfonso Mestres:

[](https://my.atlassian.com/license/generatesourcetreelicense)<https://my.atlassian.com/license/generatesourcetreelicense>

I got a "We are currently experiecing difficulties" message and i can't get my licence.  
I used GoogleChrome, Firefox, etc and the same page appears.

Neither trying in the application for windows, i got a message like this ""  
( I checked the [status page](http://status.atlassian.com/ "Status page") and everything is Ok)

What i should do?

Thank you


Answers:
author: Alfonso Mestres
body: Ok, it's solved.

Seems like i should complete my profile (billing details) before asking for a licence.
SourceTree complete documentation needed
Asked by Prajakta Babar:

Hi,

Is there any link/Documentation available for SourceTree where all the features and functionality offered by SourceTree is mentioned.


Answers:
author: Seth
body: Not really, although there is some documentation in the Help menu if you are on a Mac.

See the top 5 questions from this search for more details: [https://answers.atlassian.com/search/?t=question\&q=sourcetree+documentation](https://answers.atlassian.com/search/?t=question&q=sourcetree+documentation)
Does Sourceree support "--separate-git-dir" option when cloning?
Asked by Dick Dee:

Hello,

Can I do the equivalent of the following git command line command in SourceTree?

git clone --separate-git-dir=/C/Users/UserX/GitRepoLocal/TestProj //Server1/GitRepos/TestProj.git /C/Users/UserX/Documents/GitWorkingDirectory/TestProj

That is, can I separate the git working directory from the git database files?

-RD


Answers:
author: Bal?zs Szakm?ry
body: There is no such option in the clone dialog. You need to do this from command line.
Removing a bad merge on local and remote repository?
Asked by Michael_Heins:

I'm working on a github branch off of master. Recently after merging master into my branch I did a commit and push to the remote repository, then discovered something bad happened during the merge. I don't know how to get past the bad merge that's now in the remote. I can reset my local repository to my previous good commit on my branch to continue work, but when I want to commit and push up to the remote repository, I can't because the remote is ahead of my local (by the bad commit). I can't pull from the remote because the bad commit messes up my local so I can't build. How do I recover from this?


Answers:
author: Michael_Heins
body: Thank you both for your suggestions. I ended up figuring out how to repair the code from the bad commit, and then checked in the repaired code.


author: Bal?zs Szakm?ry
body: You have two options:

1. Rewrite history: Do the changes as described and force push to the server (SourceTree does not seem to be able to do this, you need something else, e.g. cmd or GitExtensions.)
2. Leave history as it is and fix the code: Revert the bad commit (since it is a merge commit, you need to either create a custom action in SourceTree to have the -m switch or do it from another client), push it to the server and commit on top of that as usual.


author: Seth
body: You probably won't be able to do this from the SourceTree UI, but you can definitely push the fix using the command line. I think the parameter is --force, but I would recommend a quick google search to confirm.
Dragging unstaged to staged loses focus on selected file
Asked by Nimai Malle:

I'm using SourceTree 1.9.4.1 in Flat \| Split View Staging mode.

When I drag a file from unstaged to staged, the selection moves to the next unstaged file, instead of sticking with the selected file I just dragged. The experience is jarring, as generally I am reviewing changes in the diff pane, deciding what to drag up. As soon as I drag, the diff pane shows a different file making me feel like I just operated on the wrong file.

I request that the selected file remain selected after dragging from one area to another.


Answers:
author: Nimai Malle
body: How's this?

[](https://jira.atlassian.com/browse/SRCTREE-2516)<https://jira.atlassian.com/browse/SRCTREE-2516>


author: Seth
body: Sounds reasonable. I recommend posting a feature request on [jira.atlassian.com](http://jira.atlassian.com), then posting a link to it here so other users can find it to vote it up.
Sourcetree - Strange error when testing connections
Asked by Nachtkater:

I wanted to try Sourcetree on my Win7 PC but ran into some issue when adding and testing a bitbucket or github account.  
For every added account I get a message like this:

"The 'BR' start tag on line 6 position 30 does not match the end tag of 'FONT'. Line 7, position 3."

I am using the latest downloadable version.

What can cause this error?


Answers:
author: Scott Plumlee
body: In our case, we had a network proxy server that was demanding authentication before allowing traffic through. Since the Bitbucket API for giving a list of repos that the user can see/clone/etc is over HTTP, I couldn't even get a list of repos to show in SourceTree. Once I turned on proxy authentication with the proper credentials, then the error disappeared.


author: J D
body: what do you mean by " proxy server needed authentication"?I give my credentials to sourcetree under Tools \> network. Which are the same i use for maven. But it just wont work.I tried know at home without the proxy stuff and it worked perfect.


author: Scott Plumlee
body: In our case, turned out the proxy server needed authentication.


author: J D
body: I have the same problem here, proxy setting work on other applications.


author: Scott Plumlee
body: Further digging shows that when trying to browse repositories, this error continues to show up. Even if I try to use a bitbucket account, with SSH selected, the built in Sourcetree repository browser fails to connect.

Would be nice to see some actual logging of what goes on.


author: Scott Plumlee
body: I saw this same issue when the OS configuation for proxy server was set to use a configuration script. Try turning that off, and see if the error goes away.
Why SourceTree shows remote branches from other repos?
Asked by xelblch:

I have two Bookmarks added for two different projects. So when I open Project A, Im expecting to see only commits from local/remote branches of this repo.  

Right now, if I open repository for Project B, I will see commits from remote branches of Project A. How it's possible? How can I change this behaviour?


Answers:
author: Bal?zs Szakm?ry
body: So you do have only one remote. Report it as a bug

comments: author: Seth
body: [jira.atlassian.com](http://jira.atlassian.com)


author: Bal?zs Szakm?ry
body: Any chance you accidentally added the origin of project A as a remote to project B?

comments: author: xelblch
body: No :) I'm going to create two empty repos, push them to their remotes, add few dummy commits and post here what I have.


author: Bal?zs Szakm?ry
body: If there is reallyu only one remote/repo, you might have found a bug.


author: xelblch
body: SourceTree shows me only one remote for repository. git remote -v shows me something like this:  
origin git@github.com:blablabla/blabla.git (fetch)  
origin git@github.com:blablabla/blabla.git (push)


author: Seth
body: Sounds like a bug. I've never seen that behavior.


Tags: bug
Subtree merge conflicts using SourceTree
Asked by Sascha Hausberg:

Hi,

we're using the Sourcetree software for Windows to manage a number of git repositories. We have a number of libraries, where each library is a single git repository, and a number of projects, which contain the libraries as subtrees.

If a new commit is made in one of the projects and pushed to a subtree, the pull of the same subtree in another project generates some merge conflicts, even if the library hasn't been touched in the second project. The merge only shows new lines in the remote part, the local part is clean. So in fact, there is no real merge conflict.

I read about some problems within the subtree command (see this thread: [](http://stackoverflow.com/questions/17242063/git-subtree-conflict-when-pulling-from-central-repo),)<http://stackoverflow.com/questions/17242063/git-subtree-conflict-when-pulling-from-central-repo>), but the fixes mentioned there are either not working ("fetch fix") or undesired ("pull after push-fix").

Is there a proper way to deal with this problem?

Thanks for any help!


Answers:
author: Steven Tang
body: Hi,

This is quite an old issue and still a valid one. Is there any view on how to tacke this? Can there be an option to allow 'pull' be done automatically after a 'push' ?
PVCS to Git Conversion
Asked by Russ Rau:

I am currently using PVCS and wish to convert to Git. Is there a conversion procedure/script between the source code control systems?


Answers:
author: pxx3-bp
body: I have the same question. any answer you got ?

it seems I have to convert from PVCS to SVN, then SVN to Git using polarion's tool. is that correct ?

Peng

PG\&E

510-857-9800

comments: author: vpapatha
body: Did you find anything on it?

Thanks,

Vasilis
Image revision issue seen in page export to Word or PDF
Asked by sumana_etecheng:

Image revision in exported page are older than current active in page. Issue been see both with Word or PDF export option.

Note: Images are generated using gliffy.


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

Thanks for flagging this issue. Would you please email our support team at support@gliffy.com so that they can help you troubleshoot more?

Thanks!

Samie


Tags: cloud

confluence-cloud
Migration server to cloud
Asked by Janika Gutmann:

Hello,

I want to migrate on-premise site to cloud, but I hit the "User limit exceeded in cloud" error.

The users are the same in server and cloud, how can I resolve this.


Answers:
author: abhishek_sharma03
body: Hi [@Janika Gutmann](/t5/user/viewprofilepage/user-id/5268329) - This is a licensing issue. From the error you have mentioned it seems that you have more active users on Jira server than the license tier on Jira Cloud.

What license tier of Jira Cloud have you purchased and what are the active Jira users on server instance ?

BR

Abhishek

comments: author: Janika Gutmann
body: Hi, thank You for answering, is there any chance if I disable users and then proceed migration?

BR


author: abhishek_sharma03
body: Yes, that's possible


author: Janika Gutmann
body: Hi again, do I understand right- if I disable user accounts, they still have product access and all the info on-premise will be migrated?

BR

Janika


author: abhishek_sharma03
body: Hi [@Janika Gutmann](/t5/user/viewprofilepage/user-id/5268329) - Disable them only for migration since your cloud licenses are less as compared to that on server. No those users won't have product access.

Else you may increase the user tier of your Jira Cloud instance.

BR

Abhishek


author: Sayed Bares [ServiceRocket]
body: [@Janika Gutmann](/t5/user/viewprofilepage/user-id/5268329) welcome to the community!

Can you share a screenshot from **Overview** page of <https://admin.atlassian.com/>? how many users do you have in your Confluence Server?

comments: author: Janika Gutmann
body: Standard, 24 users in cloud.

Server users: 10


Tags: cloud

confluence-cloud
Nested Dropdowns in ConfiForm
Asked by Greg Poser:

I'm trying to set up a form where you drill down from a business unit successively into sub-units where the dropdown for the sub units appears for the corresponding unit. Here's an example dataset:

Unit A

Sub Unit 1

Sub Unit 2

Unit B

Sub Unit X

Sub Unit y

Unit C

Sub Unit G

Sub-Sub Unit Z

So if I pick Unit B, I want a second dropdown to appear to choose between Sub Units X \& Y. I tried to do this using Rule for Field Definition, but the second menu only appears for one of the Units (i.e. if I select Unit B I see the dropdown appear for X\&Y but if I pick Unit A nothing happens). Can you not put two rules on the same Field or am I don't something wrong?

![ConfiForm Top.JPG](/t5/image/serverpage/image-id/269082i9B6560C0BF986CF4/image-size/large?v=v2&px=999 "ConfiForm Top.JPG")

![ConfiForm Detail.JPG](/t5/image/serverpage/image-id/269083iD38964B2FA671CF6/image-size/large?v=v2&px=999 "ConfiForm Detail.JPG")![ConfiForm Detail 2.JPG](/t5/image/serverpage/image-id/269084i3EF3F04D29256F1B/image-size/large?v=v2&px=999 "ConfiForm Detail 2.JPG")


Answers:
author: Alex Medved _ConfiForms_
body: Hi [@Greg Poser](/t5/user/viewprofilepage/user-id/5268692) and welcome to this community

The easiest way would be to create a form with this hierarchy and then use it in another form through a smart classifier field in ConfiForms

So, the first form will be

|-----------|---------------|-------------------|
| Unit Name | Sub Unit Name | Sub-Sub Unit name |

And you put all the relations here

Then in the second form you just set up one field of type smart classifier and tell it to use these the first form and the 3 fields in particular

The field will render the dependent dropdowns for you automatically (up to 3 for Unit C and 2 for Unit B - based on your example)

Alex


Tags: confiforms

confluence-server

server