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 vote

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

799 views 0 4
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