youngmon/atlassian-qna huggingface dataset:
change to cygwin ssh client
Asked by Robert van Es:

How do I switch SourceTree to use my Cygwin SSH client instead of it's own embedded client. I'm on Windows 7 environment. My git is already working fine via the command line. I have configured my SSH keys in SourceTree and appear to be getting some info, but some commands still don't appear to work. For example:

git -c diff.mnemonicprefix=false -c core.quotepath=false fetch origin  
C:\\Program Files (x86)\\Atlassian\\SourceTree\\tools\\openssh_wrapper.sh: line 2: $'\\r': command not found  

C:\\Program Files (x86)\\Atlassian\\SourceTree\\tools\\openssh_wrapper.sh: line 8: $'\\r': command not found  

From <ssh://acflxfdsyspm1.gpo.gov/fdsys/fdsys-src>  
1eaf308..375ff35 R-R-SP-4-NEW-2 -\> origin/R-R-SP-4-NEW-2  

<br />

5d454bf..623ec35 sp4-bugfixes -\> origin/sp4-bugfixes  

<br />

git -c diff.mnemonicprefix=false -c core.quotepath=false pull origin R-R-SP-4-NEW-2  
C:\\Program Files (x86)\\Atlassian\\SourceTree\\tools\\openssh_wrapper.sh: line 2: $'\\r': command not found  

C:\\Program Files (x86)\\Atlassian\\SourceTree\\tools\\openssh_wrapper.sh: line 8: $'\\r': command not found  

From <ssh://acflxfdsyspm1.gpo.gov/fdsys/fdsys-src>  
\* branch R-R-SP-4-NEW-2 -\> FETCH_HEAD  

<br />

Updating 1eaf308..375ff35  
Fast-forward  

<br />

ngfdsys/fdsys/browse/views/browseresultsresultsview.js \| 7 ++++---  
.../fdsys/wssearch/model/browse/CollectionNodeSorter.java \| 14 +++++++++++++-  
.../wssearch/service/browse/BrowseResultsProcessor.java \| 6 +++++-  
3 files changed, 22 insertions(+), 5 deletions(-)  

<br />

<br />

<br />

<br />

git -c diff.mnemonicprefix=false -c core.quotepath=false submodule update --init --recursive  
Completed successfully.  


Answers:
author: Seth
body: Try to go to Options, select the Git tab, and choose to use "System" git instead of "Embedded".

comments: author: Robert van Es
body: The button labeled "Use System Git" is disabled.


author: Seth
body: That probably means SourceTree is already trying to use it.

Looking at your output more closely, it looks like all of the commands are succeeding. The errors from the openssh_wrapper script don't seem to be harming the actual operation. Your fetch command updated two branches, your pull fast-forwarded to commit 375ff35, and clearly the submodule update had no issues.


author: Robert van Es
body: Yeah, I think it's complaining about blank lines between comments in those scripts. However, I do not have the privileges to edit those scripts, so I guess I'll have to live with it. Thanks, for the insight, though.


Tags: cygwin

git

ssh
import license
Asked by Richard John Westwood:

According to <https://my.atlassian.com/products/index?sen=6948851#license_6948851>

I have to do the following to import a license:

Within SourceTree select from the menu bar "SourceTree \> Registration", click "Import License" to import the downloaded the license file.

But my version of Source Tree does nothave such a menu bar item or menu item.

So my question is do I really need to import a licence, and if so how ?


Answers:
author: calluna
body: Yep, same here... looks like nobody is able/ willing to help here, wonder if any of the Atlassian team ever looks on the forum though.


author: hucang.he
body: I have just installed the version 2.3.1.0 - the same problem exists!


author: Carlos
body: Hmm, same issue here - still no answers for this one?


author: adison
body: Same issue +1, sometimes we just cannot have internet on computer.


author: flowWobo
body: I have the same problem. Looks like a joke from Sourcetree Devs!  


author: sachintl
body: I have the same problem. Can someone help please? I don't see this option either.


Tags: import
which one best?
Asked by prakashkaruppiah:

*This question is in reference to Atlassian Documentation: [Set up version control](https://confluence.atlassian.com/pages/viewpage.action?pageId=755338043)*

Ask your question here...


Answers:
author: Robert Barrow
body: Prakash.

I'd say Git but as Nic suggests - it depends what you're after. We use a mixture of Git and Mercurial in our company.

I find that SourceTree works well with Git repositories held in Bitbucket (if you don't want to use a command line). It's completely free and has built-in GitFlow support.

Whichever way you go in terms of tools I suggest you start by learning the basic functionality of Git using the command line interface.

Atlassian have some good tutorials on their site - so I'd start there: <https://www.atlassian.com/git/>

Good luck!

comments: author: Nic Brough -Adaptavist-
body: The answer is mostly going to be git :wink:


author: Nic Brough -Adaptavist-
body: Depends on what you want from "best"?
Login error SourceTree Mac OS X El Capatain
Asked by mflanagan86:

I am unable to login to my remote Bitbucket account on SourceTree. See image below.  

Password works fine when logging in via bitbucket.org  

image2016-3-16 11:39:11.png  
[](https://community.atlassian.com/t5/Sourcetree-questions/Login-error-SourceTree-Mac-OS-X-El-Capatain/qaq-p/370615?attachment-id=1275){#link_11695f1f0b05bb}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/11032/1/image2016-3-16%2011%3A39%3A11.png){#display_11695f1f0b05bb_0}


Answers:
author: kenrachynski
body: I'm seeing this same behaviour. I have two-factor authentication enabled and opted to skip the setup during installation. Keychain isn't getting involved at all here.


author: Seth
body: Is SourceTree using a keychain-stored password, are are you typing it in fresh with each attempt? If you are typing it in, could you confirm that you tried more than once to make sure you didn't just mistype the password?
Where is "ssh" setting sourcetree 2.2.3
Asked by Akiko Shinozaki:

I updated sourcetree 2.2.3

I'm using Mac OS 10.11.3

In Sourcetree, I can't find TOOL menu.

I want setting SSH Key.

Please tell me.


Answers:
author: Tim Crall
body: What are you trying to accomplish? Macs, being unix-based, support SSH natively at the system level so you should be able to crete and manage SHS keys there.
Is there a way to do git merge --squash?
Asked by Joe Pallas:

The git command offers a way to turn all the changes on one branch into a single commit on another without doing an actual merge. This doesn't seem to be an option in SourceTree, unless I'm missing it. Is it possible?


Answers:
author: Seth
body: I think you're looking for the "interactive rebase", but I've never figured out how to use that.
Problem with SourceTree+Bitbucket - error:14077419:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert access denied
Asked by Automated User:

Hi,

When trying to do a clone from a beand new Bitbucket repository to a windows 10 PC I get the following error:

error:14077419:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert access denied

What I tried:

1. Update of the SourceTree to the latest version (I had an old version which was working fine couple of months ago with another repo)
2. Update of git (just in case)
3. Switching between OpenSSL and Putty in the SSH client
4. Adding SSH key to the config and going with it (ok, this was more like a vodoo approach...)
5. Manually setting proxy in SourceTree (as suggested on the Internet)

At this moment I have no additional ideas how to move forward. Any help is appreciated :smile:

Thank you,

Leszek


Answers:
author: Automated User
body: The following article (scenario #2, so openSSL downgrade) fixed the problem - <https://confluence.atlassian.com/bitbucketserverkb/git-clone-fails-with-ssl-routines-ssl23_get_server_hello-779171759.html>


author: eduardovedelago
body: ```
git config --global --add http.sslVersion tlsv1.2
```


Tags: bitbucket-cloud

bitbucket-development

cloud
The server's host key is not cached in the registry
Asked by Simon G_:

Hi!

Here is the error I got when trying to push/pull/... from my source tree to my stash server:

```
git -c diff.mnemonicprefix=false -c core.quotepath=false fetch originThe server's host key is not cached in the registry. Youhave no guarantee that the server is the computer youthink it is.The server's rsa2 key fingerprint is:ssh-rsa 2048 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xxIf you trust this host, enter "y" to add the key toPuTTY's cache and carry on connecting.If you want to carry on connecting just once, withoutadding the key to the cache, enter "n".If you do not trust this host, press Return to abandon theconnection.
```

There is nothing I can do to accept the key. There is a lot of topic dealing of the subject but none of the following solution solve my problem:

-<https://confluence.atlassian.com/sourcetreekb/trust-a-server-s-host-key-when-no-button-is-available-to-trust-it-788731545.html>: Switching from embedded or system git don't solve the problem. However, using embedded ar system git, without sourcetree works

- Using "plink -agent stash.local" don't ask me to valid the key.

Any idea of what could I do? is ther a solution to manually add the fingerprint in my registry? At least the problem will be solved...


Answers:
author: Seth
body: This bug report is tracking the issue where the solution in that KB article doesn't work. One of the comments also suggests a workaound: download putty and use it to attempt a connection.

<https://jira.atlassian.com/browse/SRCTREEWIN-5014>

comments: author: Marcos Mart?nez Garc?a
body: Thanks, it works.


Tags: git

key
Bring back "Open in Explorer" command
Asked by Roman Bachmann:

Could you please bring back the feature letting me open Explorer at the location of a file in Sourcetree?


Answers:
author: Seth
body: Looks to me like that option still exists in the File Status tab (or if you have "Uncommitted changes" highlighted in the Log tab).

I imagine it's not available elsewhere in the log or search tabs, because the version of the file you've selected doesn't actually exist in Explorer. It may also be an unintended regression.

Bug report here: <https://jira.atlassian.com/browse/SRCTREEWIN-4730>

comments: author: Roman Bachmann
body: Thank you for pointing me to that bug report. I noticed the link in "File Status" and I see the command "Show in Explorer" is still there in "Log / History" for uncommitted files. But I really would like to have the command back for already committed files in "Log / History".


author: Seth
body: Yeah, that's what the folks in the bug report are asking for as well. Vote it up!
SourceTree translate a wrong word
Asked by lipan001:

image2016-3-14 10:57:18.png

There is wrong translate when right click on tag then deleete it, then toast this dialog,"??"means all it should be change to "???" means correspond  
[](https://community.atlassian.com/t5/Sourcetree-questions/SourceTree-translate-a-wrong-word/qaq-p/240837?attachment-id=4400){#link_11695fa8ee80b0}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/7031/1/image2016-3-14%2010%3A57%3A18.png){#display_11695fa8ee80b0_0}


Answers:
author: Seth
body: You might want to report that as a bug to jira.atlassian.com. Questions on this site are mostly answered by fellow users - we've got no control over translations.

comments: author: lipan001
body: I want to modify this error, give me a link


author: Seth
body: <https://jira.atlassian.com>
Why SourceTree 1.8 requires sign-on everytime ??
Asked by Raymond Lee:

Hi,

When I switch from SourceTree 1.6 to 1.8, I found that it always ask me to logon to Atlassian account.

Our company has purchased a set of licenses and in 1.6 we only need to key in the license key,

there is no need to logon Atlassian every time when I use SourceTree.

Is there any way to get rid of it ? Or this is disabled or no longer to purchase license for corporate use?

Thanks,

Ray


Answers:
author: Timothy
body: AFAIK, SourceTree licenses are tied to individuals. And they are free. You can get one at my.atlassian.com.
SourceTree first use
Asked by Mark Scott:

Hey all,

Trying to get SourceTree working on my home machine using an existing account. Installed from scratch, opening for the first time:

1) I accept the license agreement

2) Click the Use Existing Account button

The page is not found...

Capture.JPG

What is wrong???  
[](https://community.atlassian.com/t5/Sourcetree-questions/SourceTree-first-use/qaq-p/313121?attachment-id=10157){#link_11695fdbbaaab5}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/9545/1/Capture.JPG){#display_11695fdbbaaab5_0}


Answers:
author: Timothy
body: Probably a networking / proxying error?

comments: author: Mark Scott
body: Indeed. Firefox \& Chrome were working fine, but IE was not connecting.

**netsh winsock reset** and **ipconfig /flushdns** did not work, as described in <http://answers.microsoft.com/en-us/windows/forum/windows_vista-networking/connected-to-internet-but-internet-explorer-and/4d16a7a7-59e0-4f59-92e9-0d22161569d4?auth=1>

In the end, resetting all the Advanced settings for IE fixed it

<http://answers.microsoft.com/en-us/ie/forum/ie10-windows_8/ie-10-is-not-workin-with-windows-8-internet/f2e8a751-f7af-4323-a887-32475ee4e404>

Thanks for the fresh perspective Tim!!


author: Shaheem Price
body: I have the same problem and can't get past the "Log in to your Atlassian account" screen. I have tried the two options Mark lists in his comment but neither solved my issue.

Sourcetree previously worked, but last week I had to reset my Windows password due to company policy, I also reinstalled source tree.

Is there a way I can manually enter my proxy settings, or change the browser to use Chrome. Chrome is set as the default browser on my machine.

I have notice the following in the Sourcetree.exe.config file:

\<setting name="ProxyServerMode" serializeAs="String"\>

Is there a tag for setting userid and password and does it affect the sign up screen?


author: Shaheem Price
body: My apologies, solved my issue.

Seems our proxy setup changed from manual settings to automatic configuration. I still had the manual settings in my Lan settings. Chrome though worked.


author: honziik
body: I had same issue due to corporate proxy, editing "ProxyServerMode", "ProxyServer" and "ProxyPort" in SourceTree.exe.config solved it. In my case it looks like this:

```
 <setting name="ProxyServerMode" serializeAs="String">
 <value>http</value>
 </setting>
 <setting name="ProxyServer" serializeAs="String">
 <value>localhost</value>
 </setting>
 <setting name="ProxyPort" serializeAs="String">
 <value>3128</value>
 </setting>
```
Remote and local branch is not in sync in source tree
Asked by Rohit Ketkar:

Hi,

I have two local repositories on my local machine which points to same remote repository. I have only one branch on remote which is "master". The problem is when i update master on one repository and push it to remote server, "origin/master" is updated and shown in source tree for that repository. However, on another repository, "origin/master" still points to old commits unless i do git pull manually on this repo. I think source tree should automatically shown when "origin/master" and local master are out of sync. I am using ssh keys for pulling and pushing on gitlab. I have also set up keys in source tree still no luck. I am using gitlab for remote server.

PFB screenshots.

Current position of origin/master in one repository.

current.PNG

In another repository, origin/master still points to older commits, even though in actual its been updated.

old.PNG

Key settings.

keys.PNG

[](https://community.atlassian.com/t5/Sourcetree-questions/Remote-and-local-branch-is-not-in-sync-in-source-tree/qaq-p/261715?attachment-id=3447){#link_11695ffdea1269}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/8296/1/keys.PNG){#display_11695ffdea1269_0}  
[](https://community.atlassian.com/t5/Sourcetree-questions/Remote-and-local-branch-is-not-in-sync-in-source-tree/qaq-p/261715?attachment-id=3448){#link_11695ffdea1269_0}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/8296/2/current.PNG){#display_11695ffdea1269_2}  
[](https://community.atlassian.com/t5/Sourcetree-questions/Remote-and-local-branch-is-not-in-sync-in-source-tree/qaq-p/261715?attachment-id=3449){#link_11695ffdea1269_1}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/8296/3/old.PNG){#display_11695ffdea1269_4}


Answers:
author: Seth
body: You cut your options dialog just slightly too short. There is another setting to "Check default remotes for updates every ___ minutes". That setting will cause SourceTree to automatically run "git fetch" commands, which are what you need in order to see the up-to-date position of the origin branches.


author: Rohit Ketkar
body: @Seth: thanks. Figured it out today itself.. :)
Can't upgrade to Sourcetree v1.8.x
Asked by C Monster:

I have a segmented lab that's not connected to the internet. How am I to register and complete the installation? A previous version of the software was already registered via a downloadable key.


Answers:
author: Daniel Do Binau
body: The answer is simple: You avoid the new version like the plague, and thank your lucky stars that a technical issue happened to save you from the horrendous atrocity that is SourceTree 1.8 :smile:

comments: author: C Monster
body: o I'm still better off running v1.5.2???!! Are you kidding me??


author: Seth
body: <https://answers.atlassian.com/questions/37039953>
fatal: unable to access '...': Couldn't resolve host '...'
Asked by David Moran:

Hey Guys,

I'm trying to clone a private repo that my company has onto my desktop using SourceTree. When trying to clone, I am getting the following error:

```
git -c diff.mnemonicprefix=false -c core.quotepath=false clone --recursive https://dmoran@intertechmedia.com@github.com/InterTechMedia/wpbitm.git C:\SourceTree\wpbitmCloning into 'C:\SourceTree\wpbitm'...warning: templates not found C:\Users\David Moran\AppData\Local\Atlassian\SourceTree\git_local\share\git-core\templatesfatal: unable to access 'https://dmoran@intertechmedia.com@github.com/InterTechMedia/wpbitm.git/': Couldn't resolve host 'intertechmedia.com@github.com'Completed with errors, see above.
```

Nothing is actually cloned, it just automatically jumps to 100% without doing anything. Are there any suggestions as to how to solve this issue?

Thank you,

-David M


Answers:
author: Paul F
body: I found that issue to happen when I pick the repo from the list when cloning a github repo, by going to the github project and copying the raw link solves it.

Basically you want your link to look like this:

```
https://github.com/your-git-username-here/your-project-name-here.git
```


author: Seth
body: The host you have specified looks wrong. You should never have two @ symbols.

Is the private repo hosted on github? If not, remove the @github.com. If so, try using dmoran instead of dmoran@intertechmedia.com.

If that is your actual github username, you may need to contact github support to find out what your clone url should look like.
old version for mavericks
Asked by steveschow:

Where can I find an older version of SourceTree that will run on 10.9?

<https://downloads.atlassian.com/software/sourcetree/SourceTree_2.1.dmg>


Answers:
author: windwagon
body: The URL in your answer *is* the location of the most recent version that will run in 10.9 (I'm running 2.1 in 10.9.5).
Constant issue with Unstaged Files not showing up if program is open for several hours.
Asked by Nick Makris:

So, if I have sourcetree open for say, 4 hours, and I go to open a closed repo to commit some changes (may have gotten out of repo due to emergency update for client - happens too often), it won't show any changes to commit. In the Log, it'll show uncommited changes and in the sidebar, it'll show X to commit, however the File Status shows empty. Closing the program and reopening it fixes the issue, until I go to open another closed repo to commit some changes later in the day.

Is this common, or is there something wrong with my program? I've tried to uninstall and reinstall, no changes.


Answers:
author: Seth
body: That doesn't sounds right, but you might be able to resolve it by hitting F5 (forces a refresh of the UI). Depending on your keyboard configuration, you may need to hold the Fn key with F5.

If that doesn't work, you might file a bug report at jira.atlassian.com.

comments: author: Nick Makris
body: I've tried that in the past as well, and that doesn't refresh the repo. It just seems to refresh the logs window.


author: Seth
body: It should refresh the file status window as well which, from your description, sounds like the problem area. I've also edited my answer with another option.


author: Nick Makris
body: Thank you. I will submit a bug report!

Unfortunately, F5 doesn't seem to refresh the repo, at least on Windows.
How do I get the Tree View to show?
Asked by John Goodrich:

Checking the "Enable Tree View" as a file listing option does not enable the Tree View in Version 1.8.2.11. Closing and re-opening SourceTree did not help - I still only have the flat view option in the pull-downs on the File Status panel.


Answers:
author: Johannes Kilian
body: This feature was intentionally removed from SourceTree by Atlassian. See <https://www.sourcetreeapp.com/update/WindowsReleaseNotes.html> - Section: SourceTree 1.8.0.36401 - Enhancements

Or: <https://answers.atlassian.com/questions/37058212>

comments: author: Seth
body: Indeed, you can find links to bug reports in the Bugs answer, which is the best place to track developments related to the Tree View.
How to restrict user to a particular page in a Space
Asked by Sravan Indukur:

In Confluence, we need to restrict a user to a particular page (we even have few pages under that page and those child pages must also be accessible to the user). Apart from that no other page in the Space should be accessed by them.

We thought of using the restrictions option (![restict_ion.jfif](/t5/image/serverpage/image-id/280390iC16AFB2C8283A9D1/image-dimensions/15x15?v=v2 "restict_ion.jfif")) but it must be applied to other pages, by restricting the above user to view the page.

Any other idea will be appreciable.

Thanks for your suggestion in advance.

Regards,

Sravan


Answers:
author: Durgesh Masurkar
body: Hi Sravan,

You can restrict someone in the restrictions option only. You will get three options inside it:

* No restrictions
* Editing restrictions
* Viewing and editing restrictions

You can create restriction rules based on your requirements.![ss.png](https://community.atlassian.com/t5/image/serverpage/image-id/280405i636FF7C19A46C8C5/image-size/large?v=v2&px=999 "ss.png")

regards,

**Durgesh M**

comments: author: manish jangir
body: Great answer Durgesh!


author: Sravan Indukur
body: Thanks man, your answer supports me to present in a better way


author: Bill Bailey
body: [@Sravan Indukur](/t5/user/viewprofilepage/user-id/5301477) just to make sure you are clear, to do what you want to do, your user must:

* Be given permission to view the space under space permissions.
* The page tree you want your user to view, must start a root. This page tree becomes your more or less "public" view.
* All other page trees need to have restrictions set to allow all other users to view those page trees except the one user in question (this is best handled by segregating users into groups, one for general users, and one for the restricted users -- doing this now will greatly simplify your life later).

This is a PITA to administrate, especially as the number of page trees in your space grows.

comments: author: Sravan Indukur
body: but by doing that we need to restrict other pages, which mean if i want to add any user to the other pages in future means, I must add that person to that group (the group to which i add in restrict option to view, or edit) also. Now I'm in the organisation, and i will do the necessary changes till I be here, in future someone will come and how will they know about the changes.


Tags: cloud

confluence-cloud