youngmon/atlassian-qna huggingface dataset:
SourceTree user specific - cannot install on multiple machines at school
Asked by DouglasUnusual:

I am going to be teaching a new course at college. I would like to teach the students source control and SourceTree would be great. I asked the IT guys to set it up as the sutdents cannot install anything on the machines but i got this reply:

"We cannot install SourceTree for you as it is user and machine specific software rather than just machine specific, and therefore if we install it on a machine it will only be usable by the person installing it, and then only until their profile is cleared from the machine."

I have no idea about how this stuff works but i feel there must be a work around. Does anyone have any ideas?


Answers:
author: Ana Retamal
body: Hi Douglas! SourceTree has to be individually installed in every machine and need to be registered with an Atlassian account, however, this account won't determine which person can use it. After the installation is complete, the students will just need to connect their accounts so they can get access to their repositories as explained at [Get started with SourceTree](https://confluence.atlassian.com/get-started-with-sourcetree/connect-your-bitbucket-or-github-account-847359096.html).

Let us know if you have any questions :)

Ana

comments: author: DouglasUnusual
body: Thanks for your answer. The help desk have got back to me and explained that the issue is if they install it and then logg off, the next person can log in but it will not be installed for them.

Again i have only worked on my personal computer and do not know anything about programs installing to specific logins etc but it seems this would be a major limitation for using this in schools as we cannot allow the students to install it themselves on their accounts.

Do you have any ideas on that?

Thanks again


author: Ana Retamal
body: Hi Douglas, I understand what you mean. I'm assuming then that the help desk team would be installing SourceTree in a different user. Would they be able to install SourceTree into the student's account?

If the students can not do that by themselves, then you might be interested in this Feature request [SRCTREEWIN-6570](https://jira.atlassian.com/browse/SRCTREEWIN-6570). However, in the meantime, there's nothing else I can think of apart from allowing the students to install it themselves.

Regards,

Ana


Tags: network

windows
How to easily see the directory of my local repository?
Asked by Sander Hartogensis:

There are two places where I would like to be able to easily see the directory of a local repository, but cannot.

1. The local repositories overview.
2. An already opened repository.

My workaround now is to click the 'Explorer' button on an open repository, and see what directory is opened.

Is there an easier way, or should that be a feature?

Otherwise I am quite happy with SourceTree, especially since version 2.


Answers:
author: Ana Retamal
body: Hi Sander, thanks for your feedback :) AFAIK there's not an easier way to find the directory of a local repository. We have a feature request for a similar functionality, you can find it at [SRCTREEWIN-7226](https://jira.atlassian.com/browse/SRCTREEWIN-7226). You can vote for it, write a comment or submit a new one by clicking on **Create**.

Hope this helps!

Ana


Tags: directory
Sub-Folders; how?
Asked by Eric van Gastel:

Since the new SourceTree version (2.0+), the bookmarks list is gone. This by itself is already a horrible (in my opinion) choice of user interface design. Due to how our company works, I'm working with a massive amount of repositories at the same time. My hope is that the feature will return someday, but fine, for now I'll stay content with the new tab-system.

My actual problem is that there doesn't seem to be any way to organise folders as sub-folders anymore. Now I'm stuck with a long list of folders all over the place, making day-to-day work a giant pain.

Thus the question is; am I overlooking anything? Is there an actual way to have proper organisation of repository folders? Or should I revert to an older version, or perhaps, an alternative to SourceTree?


Answers:
author: Ana Retamal
body: Hi Eric, we have a feature request to bring back the bookmark view, you can find it at [SRCTREEWIN-7520](https://jira.atlassian.com/browse/SRCTREEWIN-7520). If you want, you can have a quick read at why we did these changes at [Windows 2.0 gets a fresh look](https://blog.sourcetreeapp.com/2017/05/18/windows-2-0-gets-a-fresh-look/).

Let us know if you have any questions!

Regards,

Ana


Tags: bookmark
404 on Pull Requests
Asked by Kristopher LaGreca:

One of our team members is creating a pull request in Sourcetree, and upon submission, is being sent to a 404 page. I can see the issue clearly: The target URL is:  
"<https://bitbucket.org/npgroupllc/jcc-on-the-hudson/npgroupllc/jcc-on-the-hudson/pull-request/new?source=npgroupllc/jcc-on-the-hudson:7>......"

Sourcetree is duplicating "/npgroupllc/jcc-on-the-hudson/" but we can't figure out why.

His version of sourcetree is 2.125

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

![after_pull_request_1024.jpg](/t5/image/serverpage/image-id/2437iEF2BDFC408FBB695/image-size/large?v=v2&px=999 "after_pull_request_1024.jpg")


Answers:
author: Ana Retamal
body: Hi Kristopher! Is he the only user affected? Is it only happening for that repo, or for any of his repos?

SourceTree generates the URL based on the git remote URL. Could you send us a screenshot of his remote configuration (**Settings \> Remote \> Double click on the account**) so we can see if there's something wrong there?

Cheers,

Ana

comments: author: Kristopher LaGreca
body: Hi Ana,

So far, it looks like only one user, and he says it happens on any repo.

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


author: Ana Retamal
body: There must be something wrong in the configuration of this user, so it keeps adding the "/npgroupllc/jcc-on-the-hudson/" part. Can you ask him to [wipe his SourceTree preferences](https://confluence.atlassian.com/sourcetreekb/how-to-wipe-sourcetree-preferences-412484640.html) and try to create a Pull Request again?

Let us know if this worked for him!

Regards,

Ana
Disable auto-replaces spaces with dashes
Asked by beaurepair:

SourceTree 2.3.5 for mac has added auto replacing of spaces with hyphens in branch names.

Is there any way to disable this 'functionality'?


Answers:
author: Ana Retamal
body: Hi Beau, the developers replied and told me it's expected: BbC's REST API has rules when creating repos or branches and has a limitation around spaces so we automatically replace them now.

Replacing spaces with dashes was also a much requested feature. If you'd like to change this, you can submit a Feature request at [jira.atlassian.com](https://jira.atlassian.com/secure/Dashboard.jspa) by clicking the **Create** button.  
Hope this helps!

Ana


author: Ana Retamal
body: Hi Beau, currently it's not possible to disable that functionality. Branches can not contain spaces (as per the [official git documentation](https://git-scm.com/docs/git-check-ref-format)), in previous SourceTree versions you'd get an error if you tried to do create a branch with a space on it and the branch would not be created.

Hope this helps!

Ana

comments: author: beaurepair
body: This is for Mercurial, not git, and was only introduced in the latest release (2.3.5 for Mac).

We've been using branch names with spaces for ever with no issues.


author: Ana Retamal
body: Hi Beau, thanks for clarifying. You didn't specify which DVCS were you using and I assumed it was Git. Regarding Mercurial, I've contacted the developers to ask them if this new behavior is expected to happen with Hg as well or was intended only for Git, I'll let you know once I get a response.

Cheers!

Ana
How to enable backmerge when using embedded git-flow of sourcetree?
Asked by Andre Schlegel-Tylla:

To use "git describe" on develop branch the last release tag must be reachable from develop brancht. To support this the backmerge was implemented in nvie git-flow (<https://github.com/nvie/gitflow/issues/126>).

Is this path is part of the embedded git-flow of sourcetree and can I set the flag for this feature?


Answers:
author: bgannin
body: What OS and version of SourceTree are you using?


Tags: git
Need help with LFS Push Error
Asked by Rafael Fernandez:

Recently made a change to add .obj files to my git lfs so that they would get tracked. Now I get this error:

Server error: \*Cant post because of Forum rules\* but its a bitbucket link

Git LFS: (0 of 1 files, 246 skipped) 4.61 MB / 4.61 MB, 563.53 MB skipped

<br />

Errors logged to E:\\EmergeNYC Tech Demo\\.git\\lfs\\objects\\logs\\20170622T110321.0754849.log

Use \`git lfs logs last\` to view the log.

<br />

error: failed to push some refs to 'https://rafaelmfernandez@bitbucket.org/flipswitchgames/emergenyc-tech-demo.git'

Completed with errors, see above.

Log: <https://gyazo.com/40f6db267c87e41e63a043187f2a175a>


Answers:
author: Ana Retamal
body: Hi Rafael, can you tell us which version of SourceTree and OS are you using so we can narrow this issue better?

Regards,

Ana
How to reset the head to enable merge
Asked by Stefan Kemler:

Hi,

I am new to working with git and SourceTree, so I need some help. A few information up front: I work together with another collegue on a shared git repository. I made some changes to some files and then commited my changes. When I wanted to push my commits, my colleague had already pushed some other changes, but I didn't pull them before I tried to push myself. So Sourcetree opened up another branch. I wasn't sure how to merge the new branch with my local head without losing my own changes, so I tried out a lot of things including stashing and resetting commits. Now I am pretty much clueless what to do to get everything back to normal without losing my changes. Here is a photo of the current status:

![Bildschirmfoto 2017-06-22 um 14.03.32.png](/t5/image/serverpage/image-id/2395i4D1F22289C2E73A3/image-size/large?v=v2&px=999 "Bildschirmfoto 2017-06-22 um 14.03.32.png")

Thanks for your help.


Answers:
author: bgannin
body: You could try [interactive rebasing](https://www.atlassian.com/blog/sourcetree/interactive-rebase-sourcetree) or squashing.

Alternatively you could delete that 'extra' branch ++after++ selecting them and using the "Create Patch..." (From Commits). Then you can just re-apply them on a version clone without any worries beyond the change in metadata.

comments: author: bgannin
body: To reset a merge in progress use the "Reset..." (or "Revert..." for Mercurial) and choose the Reset All tab.


Tags: merge
SourceTree Linux
Asked by Wouter_Fovel:

Any idea when to expect a linux client. I mostly develop on linux and like sourcetree ... but duh, no linux app


Answers:
author: Ana Retamal
body: Hi Wouter, unfortunately we don't have plans to build SourceTree for Linux at the moment. There has been a few feature requests for that, but they've been closed as it's not in our roadmap. You can vote for [SRCTREE-2991](https://jira.atlassian.com/browse/SRCTREE-2991) if you'd like to show your interest.

Regards,

Ana
re-enable warning for empty commits
Asked by jaron barends:

By default, when you try do a commit with an empty commit message, you get popup to warn you. This popup has a checkbox "don't warn me again"

For a specific use case I needed to do a lot of commits where adding a commit message was unnecessary, so I checked the checkbox - expecting I could re-enable the warning in the settings later. However, I can't find this option anywhere.

How can I re-enable the warning for empty commits?


Answers:
author: Jason Kania
body: Is there any ability to ability add this warning in version 3.4.7 of SourceTree? It seems that the configuration option mentioned above is no longer present.


author: Ana Retamal
body: Hi Jaron! The way to re-enable that pop up depends on whic OS are you using:

- In Windows, edit the *%localappdata%/Atlassian/SourceTree.exe_url_{hash}/{version}/user.config* and change

```
<setting name="SuppressWarningOnEmptyCommit" serializeAs="String">    <value>True</value></setting>
```

to

```
<setting name="SuppressWarningOnEmptyCommit" serializeAs="String">    <value>False</value></setting>
```

- In Mac, type the following in your terminal

```
defaults write com.TorusKnot.SourceTreeNotMAS suppressWarnOnEmptyCommit NO
```

and press 'Enter'.

Cheers :)

Ana

comments: author: jaron barends
body: Yay, it worked! Thanks Ana.


author: Ana Retamal
body: Glad to hear that, Jaron. Have a good day!
What is the IP information of sourceTree ?
Asked by Daouda Fofana:

I need for this information to open my firewall for sourceTree


Answers:
author: Ana Retamal
body: Hi Daouda, the IP address SourceTree connects to depends on which service you use (Bitbucket, Github, etc...) For example, if you're using Bitbucket Cloud you can find the IP addresses in the article [Bitbucket Cloud IP addresses](https://confluence.atlassian.com/bitbucket/what-are-the-bitbucket-cloud-ip-addresses-i-should-use-to-configure-my-corporate-firewall-343343385.html ).

Hope this helps!

Ana
I can't push GitHub repojitory
Asked by ? ??:

I worked GitHub's Local repogitory using SourceTree.

then I tryed push.

below error is report.

git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=manager-st push -v --tags --set-upstream GitHub master:master  
Pushing to <https://github.com/Beio-Wolf-Com/WHVR.git>  
To <https://github.com/Beio-Wolf-Com/WHVR.git>  
! \[rejected\] master -\> master (non-fast-forward)

<br />

error: failed to push some refs to '<https://github.com/Beio-Wolf-Com/WHVR.git>'  
hint: Updates were rejected because a pushed branch tip is behind its remote  
hint: counterpart. Check out this branch and integrate the remote changes  
hint: (e.g. 'git pull ...') before pushing again.  
hint: See the 'Note about fast-forwards' in 'git push --help' for details.

Someone please help me


Answers:
author: bgannin
body: Your branch is out of date and needs to pull the latest changes and incorporate them prior to pushing your new changes.
Can $FILE parameter be put in a row number?
Asked by MAMORU:

![pic1.png](/t5/image/serverpage/image-id/2391i09E29CEBC9257365/image-size/large?v=v2&px=999 "pic1.png")

Is this movement possible?


Answers:
author: minnsey
body: Hi

$File, $repo and $sha are the only context sensistive parameters SourceTree currently supports. You could hard code in 2500 but I don't think that is what you are looking for.  

You could add a feature request at <https://jira.atlassian.com>

comments: author: MAMORU
body: Hi

Thank you for your reply.  
I understand it.

I'll send a feature request !
Startup message about an older installed version which doesn't actually exist?
Asked by Matt Isaacson:

I'm running version 2.1.2.3 under Windows 10. I believe this problem started after I accepted a SourceTree in-app invitation to upgrade to this version. Now, every time I start SourceTree, I get the message "SourceTree has found older versions installed ... The following installs were found: 1.9.6.1 - (C:\\Program Files (x86)\\Atlassian\\SourceTree\\)". But in fact there is no SourceTree folder at C:\\Program Files (x86)\\Atlassian. An older duplicate entry under Add and Remove Programs failed, as it could not find the associated installer app. I've tried various other things but I haven't been able to track down the cause of this message. I assume there are leftover registry entries involved but I haven't been able to find them. Can anyone advise how to clean this up?

Thanks!


Answers:
author: Ana Retamal
body: Hi Matt! There's been other users getting that message and it was because the uninstall didn't clear all the registry settings. You can go to **Control Panel \> Programs \> Programs and Features** and make sure the older SourceTree versions are removed, then reboot your system to make sure the uninstall is complete.That dialog is shown in SourceTree when 2.x runs and it finds registry entries referring to prior versions, if you confirm you have uninstalled those, then you can safely check the '**Don't ask me again'** option and you won't be prompted with that message again.

Cheers :)

Ana

comments: author: Matt Isaacson
body: Hi Ana, I went to Programs and Features, selected the entry for 1.9.6.1 and tried to uninstall it. Got this message: "An error occurred while trying to uninstall SourceTree. It may have already been uninstalled. Would you like to remove SourceTree from the Programs and Features list?" I said yes, and it's gone -- and so is the startup message about SourceTree 1.9.6.1, even without restarting. (Interestingly, the only other SourceTree install that appears there is listed as version 2.0.20.1, even though the version I'm actually using is 2.1.2.3 -- so something's a bit out of sync.) Anyway, problem solved -- I like to keep detritus of uninstalled software etc in my system to a minimum. Thanks for the response! Matt


Tags: windows
SourceTree install issue
Asked by Thomas Townsend:

Does anyone at Atlassian care about helping customers?

I am having issues completing the install of SourceTree on a Windows PC

I get to the Atlassian account - it logs me into Atlassian and shows me the License and the install process stops???

Our Company is paying BIG $$$$ for your enterprise tools - where the heck is the support?


Answers:
author: Mike Corsaro
body: Hello! Could you post a screenshot of the point in which the install stops? Thanks!

comments: author: Thomas Townsend
body: ![LaunchST_setup1.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/2383iD14397B098D46F8B/image-size/large?v=v2&px=999 "LaunchST_setup1.PNG")![Licenses My Atlassian https my.atlassian.com products index.png](https://community.atlassian.com/t5/image/serverpage/image-id/2384i04F4F797EBFA953B/image-size/large?v=v2&px=999 "Licenses My Atlassian https my.atlassian.com products index.png")


author: Thomas Townsend
body: Windows 8 O/S


author: Mike Corsaro
body: So, we don't actually use licenses with SourceTree anymore -- you'll need to click "Use an existing account" I think you can login using the details you used to get to the "MyAtlassian" page.


author: Thomas Townsend
body: Nope tried that too. Our Company uses Google Enterprise and it does not recognize it. If your not using licenses then why does the install ask for it?


author: Mike Corsaro
body: Got it. In that case, go ahead and click the "Go to My Atlassian" and make a new Atlassian Account. Once you login, you'll never need to login again and your login details are not related to the details you'll need to clone your repos. Enterprise account support will be coming soon.

Here's a some more info about why we have the account:

<https://blog.sourcetreeapp.com/2016/02/22/sourcetree-update-atlassian-account-git-lfs-support-ui-refresh-and-more/>


Tags: windows
SourceTree format to guidelines in commit message doesn't do anything
Asked by Eric Feigenson:

This is in SourceTree 2.5.3 (116) on MacOS 10.11.6.

I found a "Format To Guidelines" option in the contextual menu of the commit message box. I thought that might be a handy way to format my commit messages with autowrap to the guideline bar (currently at 72 characters).

So far, I haven't gotten the option to do anything.

This brings up a bunch of questions:

1. Is it supposed to operate on the entire text of the buffer?
2. Is it supposed to just work on selected text?
3. Is it a toggle? If so, there's no check mark in the contextual menu to indicate whether it's off or on.

In any case, no matter what I've tried to do (including the list above), I haven't seen the option do anything.

Is there something I'm missing?

Thanks!

-Eric


Answers:
author: Manju
body: Hi @Eric,

There seems to be a bug in the working of this feature. Please file a ticket on jira.atlassian.com for SourceTree project and we will get this fixed for the next release.

Thanks!

comments: author: Eric Feigenson
body: Reported bug as: <https://jira.atlassian.com/browse/SRCTREE-4811>


Tags: format

guideline

mac

menu
Source Tree 2.1.2.5 unattended install
Asked by Rabii Elguermouni:

Hi, I'm trying to deploy Source Tree 2.1.2.5 to about 30 machines and I'm wondering if it can be done silently. Is there an msi available? Also, the install requires an Atlasian account, does that mean each user should have his/her own account or can they share one account?


Answers:
author: Ana Retamal
body: Hi Rabii! SourceTree no longer provides a way to perform a silent installation and there's also no msi available. Every user needs to install it and register it using their Atlassian account. Y featureou might be interested in voting for this Feature request SRCTREEWIN-6570.

Hope this helps :)

Ana
In SourceTree, the Accounts in "View--Options--Network" section are messed up
Asked by codingwork:

My Git repositories on the corporate network rely on SSO and our passwords change very often. Usually, I was able to use the "Options--\>Authentications" option in SourceTree to simply update my password.

However, with the recent update in 2.x, the user interface has changed for worse and I am unable to change my password. Even after I set the password, SourceTree says access denied for the repository under consideration even though I can connect to that repository just fine using git on command-line. I tried deleting all my accounts in SourceTree but it still keeps an account permanently in there despite clicking "Delete". What is worse, SourceTree is NOT allowing me to configure SSH-based repositories.

I am at a point where I am considering moving away from SourceTree because of this problem. Ever since I upgraded to 2.x, the user interface has become extremely non-intuitive and frustrating.

How do I completely get rid of all my accounts in SourceTree and configure new ones that allow me to access the repositories on my corporate network using SSH. The user interfaces forces me to select between BitBucket and GitHub; neither of which apply in my case.

**The specific error that I am seeing is (** ++I have not changed any configuration in SourceTree++ **):**

Access denied  
FATAL ERROR: Server sent disconnect message  
type 2 (protocol error):  
"Too many authentication failures for MY_USER_NAME"


Answers:
author: minnsey
body: Hi  

Sounds like you are using SSH with a self hosted, or non Bitbucket/Github server, are you using SSH with keys or with username/password?

comments: author: codingwork
body: Thanks for the reponse Michael. Our repositories are hosted locally on a host on the Intranet and so is the user account (on Linux hosts) that is accessed only via SSH. I'm no security expert so pardon my lack of the use of proper terms.

I had configured SourceTree in the past to rely on Putty instead of OpenSSH because that was offered as the recommendation when installing SourceTree. I also remember having generated the public and private keys when installing SourceTree. I tried reimporting the keys to no avail to fix the problem. In the versions prior to 2.x, all I had to do was go to the Tools--\>Options--\>Authentication tab and update my password for the user account that was used for my repositories.

When I try to use the "Terminal" from within SourceTree and do a "git pull" or "git push", I am prompted for my password and upon entering the password, I am able to work. However, when using the Pull or Push from the SourceTree user interface, it throws the "Access Denied" errors.


Tags: windows