SourceTree Replaced end line to lf

Hi, I have one a problem(on Windows):

When I use "Reset to Commit...", end line replaced to lf. But If I use "Reset current branch to this commit" all is good.
I already set:

git config --global core.autocrlf true

git config --global core.safecrlf true

It not worked.

1 answer

0 votes

Hi Vera, this sounds like it could be a bug so we'll try to reproduce the issue on our side. Can you confirm what type of line feed have you used? Has it always been consistent in the project?



Hi, I use Windows type crlf.

Hi Vera, I've reported this as a bug so our developers can investigate it. You can find the new ticket at SRCTREEWIN-7666. Please watch it to receive further updates, you can also add a comment there if there's something you want to ask.

Best regards,


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,236 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