youngmon/atlassian-qna huggingface dataset:
Unable to clone, fetch or push to a private repository in Github
Asked by Ramon Gonzalez:

Hi all,

I'm unable to do anything with my private repositories in GitHub. I'm can work with no porblems with public ones.

I'm able to see the repositories from Sourcetree but if I try to clone a prvate one says error in login. This is happening only with private ones.

I have similar scenario trying to push to github. With Public is working fine but with private I have the same authentication error.

I'm running version 2.3.5.0

Does anyone what the problem can be?


Answers:
author: Artem Hrebinik
body: I have the same problem  

I can see all repositories and clone only public repo  
I connected Sourcetree to GitHub using token and ssh key.  
Anyone knows Why is it going and how to fix it?  
![?????? ?????? 2021-04-23 ? 20.32.45.png](https://community.atlassian.com/t5/image/serverpage/image-id/140197i0DE8B93005D65BBC/image-size/large?v=v2&px=999 "?????? ?????? 2021-04-23 ? 20.32.45.png")![?????? ?????? 2021-04-23 ? 20.36.06.png](https://community.atlassian.com/t5/image/serverpage/image-id/140198iF8DA6BD2D65BD86B/image-size/large?v=v2&px=999 "?????? ?????? 2021-04-23 ? 20.36.06.png")


author: Ana Retamal
body: Hi Ramon, can you confirm you've followed the steps at [Connect your Github account](https://confluence.atlassian.com/get-started-with-sourcetree/connect-your-bitbucket-or-github-account-847359096.html) already?

Was it previously working for you, or is this the first time you're setting this up?

Can you send us a screenshot of the error you get?

Best regards,

Ana

comments: author: Ramon Gonzalez
body: I've been working with problems, and suddenly it stopped working after the update.

I tried many different things, even setup 2 way Auth.

The problem is solved now after following a suggestion in the questions about turning Git to system one and back again to embedded one. After this, everything began to work again.

Thanks.


author: Owen Brunette
body: I switched in preferences between the built in git and the OS git, and back again to no avail. For me everything works including push from a terminal command line, and everything except push works from within SourceTree. It had previously worked. I am using 2FA.


author: Yang_Liu
body: If you are using 2FA with your GitHub account, you can use GitHub token instead of the password to login to your GitHub account, it works fine for me.

Reference: [Two-Factor Authentication (2FA) with GitHub in SourceTree](https://confluence.atlassian.com/sourcetreekb/two-factor-authentication-2fa-with-github-in-sourcetree-402033499.html)  


Tags: github

permission

windows
Added File not showing up when Commiting
Asked by ethancodes:

Hi there! I'm having a weird issue when using Sourcetree on a project myself and a partner are working on. We are working on a gameproject, and have added an item called a Blueprint in Unreal Engine 4. If I add a blueprint, save and close the proejct, open sourcetree, stage all, commit, pull, and push, he can then pull and get the new Blueprint no problem. However, on his end, when he adds a new Blueprint and repeats these same steps, I get nothing of the new Blueprint on my end. He tried creating several test ones to see if it was just a weird glitch, but it continues to be a problem. We finally stopped at the staging part and inspected the files to be staged, and found that it is not found there. When I do it, I can find the file there. I thought maybe he somehow managed to create a gitignore that maybe was catching this somehow, but we checked and that is not the case. Any other ideas? I've used bitbucket and Sourcetree pretty extensively for work, but not much for game dev so I'm still learning some of the differences with it for something like this.


Answers:
author: Black Hat
body: The gitignore file is the likely cause. If you have a gitignore file in the repository (based on what you said, it doesn't sound like there is), check that the file extension is not listed.

If you don't have a gitignore file in the repository, there may still be a *global* ignore file that is causing the file to be ignored.

In SourceTree, go to Tools-\>Options-\>Git. At the top of that page is the path to the global ignore file. Clear the path so that a global ignore file is not specified, then click OK to save the options.

I don't use a global ignore file because it tends to lead to exactly these sort of problems.
problem SSH Key
Asked by Physiomed:

Hi, I have serious problems to use Sourcetree with bitbuket, I installed the SSH Key as per your procedure, deleted the old keys and made new procedure, it works for a day then to restart me from this:

git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree fetch origin Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. Completed with errors, see above


Answers:
author: Ana Retamal
body: Hi Piero, can you run this command in your terminal and see if your machine is offering the right key:

```
ssh-add -L
```

Also this one, it will tell you which username is using to authenticate:

```
ssh -Tv git@bitbucket.org
```

If you need further assistance, let us know which Sourcetree and OS version do you have.

Cheers!

Ana

comments: author: Physiomed
body: Hi, I launched, these two commands, and I see the key and made the debug, with this solution?  
The problem is that if restart mac the key no longer works!

mac version: 10.13.1  
SourceTree: 2.6.3

How do I solve this problem?

Piero


author: Physiomed
body: Help!!


author: Ana Retamal
body: So you're using Mac? In that case looks like you're affected by this issue on their side, you can see it at [MacOs Sierra doesn't remember SSH keys between reboots](https://apple.stackexchange.com/questions/254468/macos-sierra-doesn-t-seem-to-remember-ssh-keys-between-reboots). Please read through it to find possible solutions, I hope that helps you!

Best regards,

Ana


author: Physiomed
body: Sorry, but I didn't really understand what I have to do?


author: Ana Retamal
body: Hi Piero, if you're affected by this, this is an issue on Apple's side. There are solutions posted in [their thread](https://apple.stackexchange.com/questions/254468/macos-sierra-doesn-t-seem-to-remember-ssh-keys-between-reboots), so please read through it to find which one works for you :)

If the SSH key keeps disappearing every time you reboot your computer, you might need to contact them s they can help you with this bug.

If there's anything else we can do from our side, let us know!

Regards,

Ana


author: Physiomed
body: thank's!!


Tags: mac
Unable to access repository. Authentication failed.
Asked by tug86727:

Hello,

I am unable to to access or clone repositories. Whenever I try to clone a repositories I encounter this message. I am not too sure what this entails but before I updated source I remember getting failed authentication messages.

Please let me know if you guys can help figure this out.![sourcetreeError.png](/t5/image/serverpage/image-id/8742i94E3C4A4FE10D500/image-size/large?v=v2&px=999 "sourcetreeError.png")

Thank you,

Victor Espinoza


Answers:
author: Ana Retamal
body: Hi Victor, make sure that in SourceTree options, you select "Use embedded Git" and not "Use system Git" and then update embedded Git using the provided button. Then restart SourceTree and it should work.

If it doesn't, I'd recommend doing a clean install following the steps:

1. [Wipe Sourcetree preferences](https://confluence.atlassian.com/sourcetreekb/how-to-wipe-sourcetree-preferences-412484640.html).
2. Uninstall Sourcetree (if it shows on the App\&Features list).
3. Backup then delete the directory below before proceeding with next step:
   * Navigate to *C:\\Users\\\<UserName\>\\AppData\\Local* and delete *Sourcetree* \& *Sourcetree-Settings* folder
   * Navigate to *C:\\Users\\\<UserName\>\\AppData\\Local\\Atlassian* and delete all *Sourcetree Files/*folder.

<!-- -->

1. [Download SourceTree](https://www.sourcetreeapp.com/) (if needed) and install it.

Let us know if this worked for you!

Cheers,

Ana


Tags: windows
How to Get SourceTree to refresh in RealTime
Asked by Ross Robinson:

I have had SourceTree for about a month or 2 now and i was playing around with the settings trying to get it to update in real time so when someone else working on the project changes something or yourself changes something you can see it instantly not having to wait a certain amount of time to refresh or manual refresh it. i also have went into the settings and made sure that it refreshes in background and refreshes when files change but even with everything set up to refresh almost instantly there is still a wait period or you cant see anything till you refresh it yourself. My team and i just want to have it updating in real time so when we save something and are sure it works it shows up on source tree and we can push it to the others and it shows up on there's right away as well...... if anyone could help thank you !


Answers:
author: bgannin
body: We have file watching improvements in the 2.4.x beta. Please give it a try ([Sourcetree Betas](https://bitbucket.org/atlassianlabs/sourcetree-betas/downloads/)) and let us know if you are still encountering significant latency.

comments: author: Ross Robinson
body: okay perfect i will give it a try right when i can just don't want to update it un-till lead programmer gives the okay i just let him no and everything though so hopefully he will want to try it out as well! but if he doesnt i will try it on my home computer and let you no how it is working.


author: Ross Robinson
body: Oh and thank you for your reply hopefully this will solve the real time update problem so we can see each others updates right away.


author: Ross Robinson
body: Lowest i can get it down to is 1 minute if anyway to get it lower please let me no :P 1 min isn't bad though.


Tags: windows
Sourcetree crashed at lunch after 2.3.5.0 update. Any help?
Asked by David Nkansah:

I am seeing an APPCRASH error after the 2.3.5.0 update. any help?

Below is the problem detail:

Problem signature:  
Problem Event Name: APPCRASH  
Application Name: SourceTree.exe  
Application Version: 2.3.5.0  
Application Timestamp: 59485e52  
Fault Module Name: SourceTree.exe  
Fault Module Version: 2.3.5.0  
Fault Module Timestamp: 59485e52  
Exception Code: 40000015  
Exception Offset: 0000efb7  
OS Version: 6.1.7601.2.1.0.256.4  
Locale ID: 1033  
Additional Information 1: 1244  
Additional Information 2: 1244220ac3063a38fcdc2049ffa16633  
Additional Information 3: 411f  
Additional Information 4: 411f665ccb07c5bb63c2ee9ecca65c72

Read our privacy statement online:  
[http://go.microsoft.com/fwlink/?linkid=104288\&clcid=0x0409](http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409)

If the online privacy statement is not available, please read our privacy statement offline:  
C:\\WINDOWS\\system32\\en-US\\erofflps.txt


Answers:
author: David Nkansah
body: [![Ana Retamal Ortiz](https://avatar-cdn.atlassian.com/39095c7c0dae00552bcc4d0f7eff8cf2 "Ana Retamal Ortiz")](https://community.atlassian.com/t5/user/viewprofilepage/user-id/1067288)[Ana Retamal Ortiz](https://community.atlassian.com/t5/user/viewprofilepage/user-id/1067288) ATLASSIAN TEAM [Oct 18, 2017](https://community.atlassian.com/t5/Sourcetree-questions/Re-SourceTree-will-no-longer-start/qaq-p/657003/comment-id/17769#M17769)[](https://community.atlassian.com/t5/Sourcetree-questions/SourceTree-will-no-longer-start/qaq-p/642054/jump-to/first-unread-message# "Show option menu")

Hi everyone! As an update for this topic, we have just started the progressive rollout of Sourcetree v2.3.5.0 which includes a fix for this issue. You should be prompted to upgrade sometime over the next 14 days or, alternatively, you can download the update directly from [https://downloads.atlassian.com/software/sourcetree/windows/ga/SourceTreeSetup-2.3.5.0.exe](https://downloads.atlassian.com/software/sourcetree/windows/ga/SourceTreeSetup-2.3.5.0.exe?_ga=2.124025416.399130364.1509463635-1528165820.1502388209)

Cheers :)

Ana

[![David Nkansah](https://avatar-cdn.atlassian.com/039011895814349b21c2dee677e93b94 "David Nkansah")](https://community.atlassian.com/t5/user/viewprofilepage/user-id/1160975)
Windows 10, Sourcetree 2.3.5, does not start, GIT not found
Asked by Kristian Andersen:

I updated sourcetree to version 2.3.5 and after a reboot, sourcetree will not start - it says "Git not found". It does not help to reinstall GIT.

What to do?


Answers:
author: minnsey
body: Hi  

How far does Sourcetree get before displaying that message. Can you add a screenshot of the error?

comments: author: Kristian Andersen
body: Hi,

I was forced to revert to a previous version, so I can't provide a screen shot. The program does not show its main screen. However, I was presented a menu with a few options to resolve the issue of GIT not being found. One option was to install GIT. Another option was to manually point to GIT in case sourcetree didnt find it by mistake. The last option (as I remember) was to use sourcetree without GIT.

Installing GIT again did not change anything. I completed the installation, but a restart still gave me "GIT not found"

I then tried the second option to manually point to GIT but I was not event presented a file browser - nothing happened.

Hope this will help you.


Tags: windows
Font used for UI is unreadable
Asked by rainwarrior:

Here's a screenshot of how a typical dialog box looks in Sourcetree (2.3.5.0 but the problem was the same in earlier versions).

In general everything is too small and looks distorted. It is very hard to read ANYTHING at all across the entire Sourcetree program.

Even in this one case, where I am allowed to choose a custom font for Diff (and Diff only), there is no way to even get that to render cleanly; there is weird distortion around every letter no matter what size I pick (see the sample text in the screenshot).

Why does Sourcetree use some strange custom font like this instead of native fonts in a readable size, especially ones with proper hinting for non-antialiased rendering.

Is there any way at all to fix this? It looks terrible and is makes the program difficult to use.

![sourcetree_ui.png](/t5/image/serverpage/image-id/8676iE4E8F3458B74D645/image-size/large?v=v2&px=999 "sourcetree_ui.png")


Answers:
author: Ana Retamal
body: Hi Brad, at the moment there's not a fix for that but this has been reported at [SRCTREE-1286](https://jira.atlassian.com/browse/SRCTREE-1286). I've left an internal comment for the developers to see that this is still an ongoing problem, you can also leave a comment there if you'd like to.

Let us know if you need anything else!

Regards,

Ana

comments: author: rainwarrior
body: Alright, thanks. I have left a comment on that issue.


Tags: mac
Cannot install SourceTree on Windows 10
Asked by Anna Bakhanova:

I'm trying to install SourceTree 2.3.5.0 on Windows 10. I see a small splash screen and the SourceTree icon reappears on Desktop, but nothing else happens. SourceTree won't start up. I'm getting following errors:

From sourcetree.log:
> ERROR \[2017-11-01 14:05:48,149\] \[1\] \[SourceTree.App\] \[.ctor\] - finish EnsureSquirrelExecutionStubIsCopied

From events log:
> 1) Application: SourceTree.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.InvalidCastException at MS.Win32.Penimc.UnsafeNativeMethods.CoCreateInstance(System.Guid ByRef, System.Object, Int32, System.Guid ByRef) at MS.Win32.Penimc.UnsafeNativeMethods.CreatePimcManager() at MS.Win32.Penimc.UnsafeNativeMethods.get_PimcManager() at System.Windows.Input.PenThreadWorker+WorkerOperationGetTabletsInfo.OnDoWork() at System.Windows.Input.PenThreadWorker+WorkerOperation.DoWork() at System.Windows.Input.PenThreadWorker.ThreadProc() at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) at System.Threading.ThreadHelper.ThreadStart()
>
> 2) SourceTree.exe 2.3.5.0 59d5304e KERNELBASE.dll 10.0.10240.17643 59c09c85 e0434352 000000000002a1c8 19ac 01d353122145860b C:\\Users\\Hanna\\AppData\\Local\\SourceTree\\app-2.3.5\\SourceTree.exe C:\\Windows\\system32\\KERNELBASE.dll d4c5ed3a-9758-45e8-8103-34a9ef457692

I tried to remove everything under C:\\Users\\Hanna\\AppData\\Local\\Atlassian and C:\\Users\\Hanna\\AppData\\Local\\SourceTree but that didn't help.


Answers:
author: Ana Retamal
body: Hi Anna! You can find the solution in this other [Community thread](https://community.atlassian.com/t5/Sourcetree-questions/SourceTree-failed-to-start/qaq-p/642445), it's the answer proposed by Mike Corsaro:
> Please navigate to the config file location (C:\\Users\\{USERNAME}\\AppData\\Local\\Atlassian\\SourceTree.exe_{RANDOM_GUID}\\2.3.1.0\\user.config) and find the following line:
>
> \<setting name="AutomaticallyCleanUpDictionaryFiles" serializeAs="String"\>
>
> \<value\>True\</value\>
>
> \</setting\>
>
> Make sure that value is set to ***True***

Let us know if it worked for you!

Cheers,

Ana

comments: author: Anna Bakhanova
body: Unfortunately, this doesn't help.


Tags: windows
"Log selected..." window disappeared after minimizing, how do I get it back?
Asked by bogdanu20:

I accidentally clicked the minimize button on the file log window and the window disappeared. I restarted the app, rebooted my machine but it didn't help. Now when I click on the "Log selected..." drop down menu option nothing happens. Looks like SourceTree remembers that I minimized it after restarting and no longer wants to show it.

How do I fix this? Preferably without wiping out all the settings, that would be silly.


Answers:
author: MechatronikMonkey
body: Problem here too with 3.0.8 on Windows 10 with NVidia Graphics Card.


author: bogdanu20
body: Also occurs with SourceTree 2.3.5.0.

comments: author: Keith McCormic
body: Yes, happens on 2.3.5.0 on Win 10 64 here, too.


author: Keith McCormic
body: AHA! They were showing up minimized under a DIFFERENT Sourcetree icon in the taskbar, not the active one.

Weird.


author: bgannin
body: What platform are you on? What version of Sourcetree are you using?

comments: author: bogdanu20
body: SourceTree version 2.3.1.0.

Windows 10 Pro 64bit.
SSH Authentication Failed (SourceTree Windows) - Should I set SSH agent to PuTTY?
Asked by UTAN dev:

When fetching from a remote, I'm getting the "SSH Authentication Failed" window. ("The OpenSSH agent is running but the server still rejected your connection. \[...\]")

* I had created a new, 2048-bit key using PuttyGen and added the public key to the server.
* I can confirm that it works in the Git terminal. The following logs me in without manual intervention:

```
eval $(ssh-agent)

ssh-add C:\\Users\\MYUSER\\.ssh\\dell-no-passphrase-openssh-2048-bits

ssh MYUSER@MYSERVER
```

* SourceTree is using OpenSSH and System Git. (System Git 2.15.0/LibGit2Sharp 0.24.0 + git-lfs v2.3.4)
* I did try Tools \> Launch SSH Agent.
* The SourceTree SSH Key option field contains:

```
C:\Users\MYUSER\.ssh\id_rsa;C:\Users\MYUSER\.ssh\dell-no-passphrase-openssh-2048-bits;D:\MYUSER\Documents\MYUSER-DELL (OpenSSH).ppk
```

I do see the difference in backslashes between SourceTree's setting and the terminal's add-ssh, but wouldn't one assume that SourceTree would deal with any issues when passing key filenames to its SSH agent? What's wrong here?

Or should I just tell SourceTree to use PuTTY? (I have Pageant running 24/7.) If so, why do other instructions recommend using OpenSSH instead of PuTTY?

Thanks for your help.


Answers:
author: Ana Retamal
body: Hi! Seems like there's a bug around that. There were a couple threads in Community where users proposed their solutions, you can find them at:

* <https://community.atlassian.com/t5/Questions/Using-SourceTree-For-Windows-With-SSH-Keys/qaq-p/254386>
* <https://community.atlassian.com/t5/Bitbucket-questions/SourceTree-quot-Authentication-via-SSH-keys-failed-quot/qaq-p/38194>

Let us know if that helps you!

Best regards,

Ana


author: edhubbell
body: I also get this error when attempting to commit an Excel file to a repo while the file is open in Excel. It's repeatable. No clue why this is the error that comes up, but closed the workbook and the error went away.

comments: author: edhubbell
body: It'd be nice if y'all would fix this. I hate it when I google a problem to find that the answer was known a year ago. By me.


Tags: ssh

ssh-key

windows
Can't login during Install - Windows 7 on corporate environment
Asked by chilaka rajesh:

I'm trying to install the source tree,whenever i'm click on my existing login button/ my atlassian details button it is not going further step in installation.

can u please provide me solution asap,bcaz i'm trying these from last 15days.


Answers:
author: Ana Retamal
body: Hi Chilaka, can you be more specific on what happens when you click on the login button? Are you getting a blank screen? Is the spinner loading forever?

You also mentioned this is happening in your corporate environment. Have you tried by any chance a different network/environment? Are you behind a firewall?

Also, let us know which Sourcetree and OS version are you using.

Best regards,

Ana

comments: author: chilaka rajesh
body: ![sourcetre-screen.png](https://community.atlassian.com/t5/image/serverpage/image-id/8713i27E426EFA86B0875/image-size/large?v=v2&px=999 "sourcetre-screen.png")


author: Ana Retamal
body: Hi Chilaka, thanks for the screenshot :)

This issue was reported in our bug tracker at [SRCTREEWIN-7244](https://jira.atlassian.com/browse/SRCTREEWIN-7244). Our developers are rolling a fix, but if you haven't been prompted for the upgrade yet you can use the following workaround:
> From a working install collect the accounts.json and passwd files.
>
> Delete the Atlassian folder from the AppData/Local directory for your user. Run the installer for 2.3.1, close it when you get the blank login window. Place the account.json and passwd files into the Atlassian/SourceTree folder. Rerun the installer. It should detect the account and password from those files and bypass the request for a login.

Note that in order to be in compliance with the Atlassian EULA you must ensure the email address used in the file is valid, yours and associated with a valid Atlassian account.

For the future keep in mind that if you do a search within the Atlassian Community first you might be able to find the solution to your problem much faster, as it might have already been asked. This question for example has been asked in the Community repeatedly :)

Let us know if you need any further assistance!

Cheers,

Ana