How to fix LF will be replaced with CRLF

I've been using sourcetree for some years and so far it's just worked with no problems. However last week it started coming up with this error:



As you can see it just goes on and on and on.
I've googled and the only solution I've found is to set autocrlf to true.
This doesn't work for me though.
It's quite a problem as I can't really do anything in sourcetree at the moment, despite not having committed for over a week it says "nothing to commit", and then pops up a few more errors every time I alt+tab back to sourcetree.
Does anyone have a solution for this? :)

I've tried both re-installing sourcetree and rebooting my computer to no avail.

1 answer

I just tried to put my screens in portrait mode and then drag the error window as far up as I could to see if there were any options buttons at the bottom, but there are just too many files being changed xD

Doh, that was meant as a comment, not an answer.

Also another thing that strikes me as odd, I'm on a windows machine, the git repository is also on a windows computer (or at least I suspect microsoft would be running windows computers... ), so to my knowledge there are no unix machines involved in the process, yet many (if not all) files have been changed to UNIX style line ending..

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

1,205 views 4 2
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you