youngmon/atlassian-qna huggingface dataset:
[HELP REQUEST] FATAL ERROR: Network error: Software caused connection abort
Asked by jakub kruszewski:

Hello.

I need to kindly ask you for help, unfortunately...

I am struggling with some git/sourcetree fatal error, which stops me from cloning my repository.

I had to delete my local repository files and re-do the clone ( before that everything was working fine ), but now I cannot, because the download/clone process crashes after approx 1,5hour, that's the fifth time in row, when it happens, I don't really know what to do... The repository size is approx 5,1gb.

Please please help me, try to use simple words, since I am not really into programming.

Thank you in advance

\<ERROR MESSAGE\>

git -c diff.mnemonicprefix=false -c core.quotepath=false clone --recursive <ssh://git_fatdragondev@fatdragondev.git.cloudforge.com/new_rivenlands.git> W:\\repo_newrivenlands  
Cloning into 'W:\\repo_newrivenlands'...  

FATAL ERROR: Network error: Software caused connection abort  

fatal: early EOF  

fatal: The remote end hung up unexpectedly  
fatal: index-pack failed  

<br />

Completed with errors, see above.  


Answers:
author: Seth
body: If you can't change anything on your end (see the answer by Balazs), you might try contacting the support at cloudforge.com. There is at least a possibility that the problem is not in the network connection, but on their side (they are the "remote end").


author: Bal?zs Szakm?ry
body: This is caused by a network glitch/timeout between you and the server. Unfortunately, the Git cloning process has no tolerance for this at all.

You can try any combination of these:

* Retry in another place / on another computer with higher bandwidth / lower latency
* Keep retrying until it succeeds once
* If there is an existing clone anywhere where you can access it (including someone else's computer), copy the whole folder from there (edit the stored credentials/clone URL, if necessary), switch to the branch you want to work on and pull.

comments: author: jakub kruszewski
body: Hello. Unfortunately any of your solutions did not wirk, still in need for help.


author: Bal?zs Szakm?ry
body: There is nothing else you can do. You need to somehow acquire a valid clone to work with. Which of these have you actually tried? Do you have access to any clone of this repo on anybody's computer that you could copy?


Tags: error
Why does SourceTree treat Localizable.strings files as binaries; they're not!
Asked by ssteinerx:

This makes updating a localization that much more annoying.

Can ST be configured to treat certain file types as text?

Why is this the default?

Thanks,

S


Answers:
author: Josh Snelling
body: Adapting the Git configuration to treat UTF-16 encoded strings file as text does the trick for command-line diffs as well as when viewing pre-commit diffs in SourceTree (when viewing "Uncommitted changes"). However, it's not working when viewing committed changes. Based on this behavior, this doesn't appear to be Git problem.

Does anyone know why SourceTree can show pre-commit diffs but bails on committed changes?


author: Bal?zs Szakm?ry
body: I think you might be looking for this: <http://stackoverflow.com/questions/14990993/override-gits-choice-of-binary-file-to-text> (As far as I know, you need to make Git understand this, not SourceTree.)
I upgraded to the latest version for Windows (1.6.17). Now when I am in the search view the Edit options are all greyed out. How do I turn them back on?
Asked by Roland Brown:


Answers:
author: Roland Brown
body: I uninstalled 1.6.17 and went back to 1.6.16 and still all of the Edit options are greyed out. They are only greyed out when I go to the window in the bottom right hand corner. If I search for a previous checked in issue, find it and then click on the link the files that were changed show at the bottom. The files that were changed show in a list on the left side and then you can click on each file and see the changes in the bottom right window. I used to be able to cut and paste the changes in the bottom right window. Now cannot cut and paste from that window. Same with the Log/History view. I really need this to work. Is there some hidden button somewhere?
Missing section from Log View
Asked by William Saults:

The section below that is outlined in red has gone missing from my SourceTree window. The list of files now occupies the space that the missing portion used to fill. The hunks on the right still appear.

Also, the missing section does appear in the Search View.

I've searched high and low for a toggle or some kind of handle to drag from the edge of the pane. I'm at a loss and any help is appreciated.

Note: I'm using the Mac client.

sourcetree.png  
[](https://community.atlassian.com/t5/Sourcetree-questions/Missing-section-from-Log-View/qaq-p/205704?attachment-id=1593){#link_116a28e19995bc}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/5981/1/sourcetree.png){#display_116a28e19995bc_0}


Answers:
author: Seth
body: Chances are the drag handle that you haven't been able to find is a single pixel thick. I've seen many questions on this site where users have seemingly lost panels because SourceTree allows them to be shrunk to zero height/width, and drag handles are only a single pixel, which can be extra difficult to find when they are flush with another drag handle.

There may be a way to restore it by re-installing, but I haven't had to resort to that myself. Good luck.

comments: author: William Saults
body: I wonder if there is a text/plist file that I can modify to update the panel size...


author: Seth
body: Possible, but I've never heard of such a thing for SourceTree. If you find it, please post details as a new answer.


author: Bal?zs Szakm?ry
body: Somebody tried the uninstall/reinstall already in one of the other similar questions and apparently ST remembers even after that, so no use reinstalling it.


author: William Saults
body: Thank you @Seth for leading me in the right direction.

I followed the instructions via the link below and successfully restored the missing panel in the log view.

[https://confluence.atlassian.com/display/SOURCETREEKB/Wiping+SourceTree+Preferences](https://confluence.atlassian.com/display/SOURCETREEKB/Wiping+SourceTree+Preferences?continue=https%3A%2F%2Fconfluence.atlassian.com%2Fdisplay%2FSOURCETREEKB%2FWiping%2BSourceTree%2BPreferences&application=cac)[](https://confluence.atlassian.com/display/SOURCETREEKB/Wiping+SourceTree+Preferences?continue=https%3A%2F%2Fconfluence.atlassian.com%2Fdisplay%2FSOURCETREEKB%2FWiping%2BSourceTree%2BPreferences&application=cac)

Note: after step "6. Open SourceTree again to test if it worked or not.", I was able to click "skip setup" and all my repos were as I left them. Still able to push/pull and etc.
[sourcetree] pull dialog forget settings
Asked by sergey pozdnukhov:

in version 1.6.16+ pull dialog reset checkboxes


Answers:
author: Bal?zs Szakm?ry
body: You can change the default calues of some of these checkboxes in Tools\\Options\\Git (Assuming Windows and Git)

comments: author: sergey pozdnukhov
body: thanx
Would be possible to use SourceTree as the cliente to access and clone AWS CodeCommit repositories?
Asked by Cassio Macedo:


Answers:
author: TimP
body: Hi Cassio,

I haven't tested it, but I imagine you should be able to treat an AWS CodeCommit repository as just another git remote. I'd recommend trying [authenticating with SSH](http://docs.aws.amazon.com/codecommit/latest/userguide/setting-up-credentials-ssh.html) as CodeCommit's support for HTTPS uses a custom credentials helper, which I'm not sure SourceTree will recognize.

cheers,

Tim
Source Tree of ?loss of privacy?
Asked by sameer135:

Hi there,

Our Enterprise have purchased Atlassian STASH , now when we want to use Source Tree our company legal department is block the user of Source Tree stating that Source Tree does not licensor expressly disclaims its liability on ***'loss of privacy' .***

Therefore need to know how do get Source Tree through legal barriers. Any Suggestion will be appreciated.

Regards,

Sameer Ahmed.S


Answers:
author: Nic Brough -Adaptavist-
body: I think you need to explain which part they are having a problem with (and, as Atlassian's T\&Cs are not really very different from a lot of other software, why they have a problem with it when they don't with other software you may be using)

comments: author: SAMEER AHMED
body: They are having problem with the possibility of infringement risk as Source Tree does not express the privacy of data rather source Tree claims no liability on loss of privacy.


author: Nic Brough -Adaptavist-
body: If I understand correctly, that's completely standard in ALL software. It basically means "if you use the software to breach someone's privacy rights, we can't be held responsible". It's a bit like blaming the manufacturer of a car because someone ran you over.I think you need to re-read the terms again, but it might also help if you pointed us explicitly at the section of the terms and conditions that you're struggling with. Because I may be reading the wrong bit.
SourceTree error: 'git log' failed with code 128:'fatal: bad revision 'origin/master''
Asked by eiger3970:

Hello,

I changed to a different repository on SourceTree and the SourceTree sees my local working git directory, but when I press Commit I receive the error:SourceTree error: 'git log' failed with code 128:'fatal: bad revision 'origin/master''


Answers:
author: Bal?zs Szakm?ry
body: There are [several questions](https://www.google.fi/search?num=100&q=%27git+log%27+failed+with+code+128%3A%27fatal%3A+bad+revision) about this already. [This](https://answers.atlassian.com/questions/304204/git-log-failed-with-code-128-fatal-bad-revision-branchname) and [this](https://answers.atlassian.com/questions/94201/error-encountered-on-source-tree-git-log-failed-with-code-128) seem to have working answers.

comments: author: eiger3970
body: Hi, thanks.

These didn't fix it.

I think I need some clear instructions on setting up SourceTree and how to change repositories.


author: Bal?zs Szakm?ry
body: If you could provide some info about whether you are using the Mac or the Windows version and what exactly you mean by "changing repositories" (switching tabs? opening a shortcut? creating a new clone?), that would be very useful.


author: eiger3970
body: Hello,

I'm on Mac OSX 10.10.3.

I need to work on a Bitbucket repository setup on Bitbucket account1.

Before, I was working on a Bitbucket repository on Bitbucket account2.

My local directory is in \~/Documents/Git/Account1Work and \~/Documents/Git/Account2Work.


author: Bal?zs Szakm?ry
body: I see you already have the two clones. So are you just switching between already-open tabs in SourceTree or what are you doing when "changing repos"?


author: eiger3970
body: Hello,I log out of the Bitbucket account, then log in to a 2nd Bitbucket account.In SourceTree, I try to connect SourceTree to the new 2nd Bitbucket account.


author: Bal?zs Szakm?ry
body: What you do on the web interface (log in/out) has no effect on what happens in ST. What do you exactly do when you "connect SourceTree to the new 2nd Bitbucket account"?
How to diff OpenOffice documents within SourceTree
Asked by Adrian Christen:

Dear friends of SourceTree

Q: Is there a way to do "git-diff" of OpenOffice/LibreOffice documents (ae. \*.odt) comparing line by line (or even better word by word) by using SourceTree?

Note: I do know the way installing odt2txt, configuring \[path to your git repo\]/.gitattributes and configuring \~/.gitconfig as mentioned ae. [here](https://www.martineve.com/2013/08/18/using-git-in-my-writing-workflow/). This works (nearly) fine at the console ($ git diff myopenofficefile.odt) - can I trigger SourceTree to get a something like that?

Would be a great to get an answer (or a feature at SourceTree :wink:) - thank you all!

Greetings --- Adrian


Answers:
author: Tim Crall
body: You can configure SourceTree to use a third party diff tool. So if there's one out there that does this, or you script something using od2txt, you should be able to make that work.
Checking source hangs when cloning from bitbucket via ssh
Asked by Justin Sheaffer:

I am attempting to clone my repository on bitbucket to my server (windows 2012 r2). I have set up my ssh keys, and when i attempt to clone the ( Repository Type: Checking Source ) just hangs...

What could cause this?

**Update**: I have verified that ssh connection is being allowed through the firewall yet still getting the same problem.


Answers:
author: castrojr913
body: The Balazs's answer didn't work for me. In my case, I found out the solution **typing the password for bitbucket.org** in authentication tab prior to clone the repository. Likewise, i ruled out a second entry with [www.bitbucket.or](http://www.bitbucket.or,)g, I just remained one entry that is bitbucket.org.

auth_tab_sourcetree.png  
[](https://community.atlassian.com/t5/Sourcetree-questions/Checking-source-hangs-when-cloning-from-bitbucket-via-ssh/qaq-p/81859?attachment-id=1790){#link_1173e57f00d139}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/2285/1/auth_tab_sourcetree.png){#display_1173e57f00d139_0}


author: Bal?zs Szakm?ry
body: Probably your firewall or something else blocking the traffic. You can verify this by trying the same with HTTP(S) authentication instead of SSH.

comments: author: Justin Sheaffer
body: Thanks for the response Balazs, Https connection works immediately. SSH still spins...


author: Bal?zs Szakm?ry
body: You need to figure out what is blocking the SSH traffic. Probably your firewall, but it could also be another program.


author: Justin Sheaffer
body: Thanks, I will have to look into it.


author: Matt De Palm
body: I was having the same issue and cloning with HTTP(S) authentications worked like a charm! Thank you!
Unstaged files appearing on newly cloned bitbucket repo?
Asked by lettie:

Hi New here and fairly new to sourcetree.

I have an issue with cloning a site from bitbucket.

Steps I have taken so far are:

1. Cloned the sit with git via cygwin on to my local machine.
2. I have been granted access to the repo on bitbucket and used sourcetree to clone the repo.

Everything has come across ok. I have made absolutely no changes to any of the files that have been cloned but I am seeing a large amount of unstaged files in my working copies. As I say this is literally a brand new clone so any ideas why I am seeing unstaged files that I have not changed at all?


Answers:
author: Tim Crall
body: I've also seen this if the files in question originally contained weird characters in their names that the local OS is having difficulty with - including filenames ending in a period when cloned to Windows or filenames that differ from each other only by case when cloned to Windows or (depending on your system settings) Macs.


author: Seth
body: Chances are that your OS changed the line endings, and git is not set to ignore them.

<https://help.github.com/articles/dealing-with-line-endings/>

Another possibility is that file permissions were modified.

If you click on an unstaged file in SourceTree, it should show you the differences, if it can. Make sure you check "Show whitespace changes" in the dropdown above the diff. A permission diff is displayed, but it's hard to notice. Binary files can't be diffed with sourcetree.
Shelve removes all files
Asked by David Meyers:

I updated several files in my repository and wanted to go back to an earlier commit to check something. I opened SourceTree and clicked the Shelve button. I was prompted with a dialog box asking me for a name. After putting in a name, the following command was run:

```
hg shelve -y --git --force SomeNamepatch SomeName shelvedCompleted successfully
```

1. Clicking on Shelved in SourceTree shows nothing.
2. Running **hg shelve --list** shows nothing.
3. Running hg unshelve does nothing.

My files are seemingly gone.

Running SourceTree Version 2.0.5.2 (2.0.5.2)


Answers:
author: David Meyers
body: Anyone?


Tags: mercurial
SourceTree bookmarks panel stuck at 50% width
Asked by kuertee:

SourceTree bookmarks panel seems stuck at 50% width after I let SourceTree update itself. I can't drag the window pane to resize it. And when hidden with Hide Bookmarks menu item, the project view is only 50% wide of the window and is stuck on the left.


Answers:
author: Wim Boucquaert
body: 1.6.16 fixes the problems above, you might neef tot do show hide bookmarks after the upgrade


author: Merlin
body: I think this issue was tracked here: <https://jira.atlassian.com/browse/SRCTREEWIN-3392>

For me, showing the bookmarks, then resizing them and then hiding them again fixed it.

comments: author: snicoloff
body: Works for me.But I had to close/open sourcetree several times.Very slow response and sometimes freezes when showing/hiding the favorites panel..


author: fperezr
body: Thanks! The upgrade works well


author: Bal?zs Szakm?ry
body: I think you are experiencing this: <https://jira.atlassian.com/browse/SRCTREEWIN-3274>. Workaround in the JIRA item.


author: Merlin
body: Same here after upgade to 1.6.15. I also got the error message in the Update Summary @fperezr had.


author: Charles van der Wath
body: Can confirm here as well. Luckily only some members of the team updated.


author: Tom Seddon
body: This happens to me as well. This was not a good way to start Monday; I now have to figure out how to fix SourceTree rather than actually doing any work.


author: Wim Boucquaert
body: Same here as well for our whole team after upgrading to 1.6.15 (win)


author: Colin Johnston
body: Same here for our whole team after upgrading to 1.6.15 (win)


author: snicoloff
body: Same problem here:- SourceTree bookmarks panel seems stuck at 50% - after having upgraded to version 1.6.14 and final window is an error


author: fperezr
body: Me too!

I upgraded from version 1.6.14 and final window is an error ERROR_UPDATE.png

Also... I downloaded the installer 1.6.15 from the web and both options 'modify' and 'repair' does not solve this problem of bookmarks!!  
[](https://community.atlassian.com/t5/Sourcetree-questions/SourceTree-bookmarks-panel-stuck-at-50-width/qaq-p/339156?attachment-id=6850){#link_116a29b8f79bb7}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/10142/1/ERROR_UPDATE.png){#display_116a29b8f79bb7_0}
I'm using SourceTree in Windows 8.1K with git server not github but in corporation.
Asked by ???:

Git commands are all maybe not working but worked in cygwin terminal executed in SourceTree Program.

Taken so long time in windows version, but using terminal, worked in quickly.

list up is shown, but any commands are only in loading.

So run SourceTree Program in Administrator Mode, but i got same result.

can i get some your opinion about this situation?

Thank you.


Answers:
author: ???
body: hmm..thanks to everyone who answered me.

i found my problem in config about git.

i used system git ver 1.7.9

so i change "Use Inner Git" by click button. version 1.9.5.

i did that, program show me input dialog that can input id \& password about git server.

it works! thanks again.


author: Jernej Petaros
body: I think you are experiencing a git server error, that is not displayed on client side and then the progress bar shows endless progress (something similar to [SRCTREEWIN-3367](https://jira.atlassian.com/browse/SRCTREEWIN-3367)).  
However working with git using any terminal works just fine.  

If you have recently updated your git (or git server) this may have caused this behavior.


author: minnsey
body: There are known performance issues with SourceTree on windows at the moment, we are aware of them and are looking into them.


author: ???
body: no error messages, wait for long time, but just not working...only shown loading bar... ?? with cygwin? very fast! \^\^


author: Seth
body: Could you be more specific about what you mean by "not working"? Are the commands slow, or are there error messages? If there are error messages, please include some examples.


Tags: windows
git push fails and throws three errors
Asked by Laurin Brinkmann:

We are using Team Foundation Server 2013 Update 3 as our Git Server and SourceTree to manage our Repositories with Git Flow.

Two of our (14) developers cannot push changes from their local /develop-branch to origin. Both get this error log:

sourcetree.PNG

**Now I've done some research and testing and this is what I've found out:**

* Yesterday only one of the two devs could not push. Today the second dev could not push anymore (He did push yesterday though.)
* Both can still push to other remote branches, like shared-feature-branches. So far it is only happing when they try to push to origin/develop.
* They can still push to origin/develop using Git via Visual Studio 2013.
* I could not find any reference to the error message: 'fatal: protocol error: bad line length character: ent-'. There were different parameters, not 'ent-'.
* I have tried to extend the \[http\] postBuffer

Do you have any idea how to solve this problem?  
[](https://community.atlassian.com/t5/Sourcetree-questions/git-push-fails-and-throws-three-errors/qaq-p/12340?attachment-id=6906){#link_116a29f69e7c45}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/365/1/sourcetree.PNG){#display_116a29f69e7c45_0}


Answers:
author: Laurin Brinkmann
body: I am glad this post did help you. Neither did I find a better solution yet.But today I have learned that after pushing (/resolving the problem) from Visual Studio, you are able to push from SourceTree again. Strangely, it seems to be a temporary issue.


author: Brian Vrolyk
body: I had this exact problem and never did find a solution.Except, until I ran across your question and saw that while you couldn't push from SourceTree (I couldn't push from console either), you \*could\* push from Visual Studio - which I hadn't thought to try. I tried, and it worked! Thank you.


author: Bal?zs Szakm?ry
body: I think your problem is with TFS doing something in a non-standard way, try asking on a MS forum.

Another thing that might be worth looking at is the core.autocrlf setting in the people's .gitconfig files. If the one/two people have a different setting than the rest, this might be connected. (As far as I know, this is the only client-side setting that could be relevant.)
Want to 'move' my repository from Raspberry Pi to Bitbucket
Asked by Kelly Beard:

I have been playing around with git enough now and want to take the next step and make my project hosted remotely. My current project is hosted locally on a Raspberry Pi at my desk. I do back it up nearly every day if I've made changes. I'm still green enough though to not have done github, bitbucket or whoever from the get-go, but now I want to expand a bit and even incorporate SourceTree and git-flow into how I work. All of my development will be directed to a Raspberry Pi still. So what do I need to do to move my code and my .git settings into Bitbucket? If I look at the "Import existing code" form from Bitbucket it wants a URL, so I'm not sure how to do that. Seems like I want to push all of my stuff to Bitbucket.

Something I just read says that git has no notion of a central repository, all repositories are the same or equal.


Answers:
author: Tim Crall
body: It is theoretically true that Git has no notion of a central repository. But it's often not true in practice.

First create an empty repo on Bitbucket. Then you should be able to push your repo to Bitbucket like this

```
git remote add bitbucket &lt;url&gt;git push --all bitbucketgit push --tags bitbucket
```

comments: author: Kelly Beard
body: Thanks. I found that if you create a new repository on Bitbucket, it will give you instructions on how to push your code up to the new remote. I had to delete my current 'origin' (it was nonsensical anyway) and re-add my origin to be my new bit bucket repos.


author: Tim Crall
body: Yes, that's better if your current 'origin' wasn't meaningful.


Tags: bitbucket-administration

bitbucket-cloud

cloud

git

git-flow