Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Why does sourcetree change my autocrlf to false?

Niels Ole Holck
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 4, 2025

On my work we want to use autocrlf=input

In git bash, if I type:
git config --global core.autocrlf
it prints:
input

 

If I open "Tools->Options" in SourceTree (version 3.4.20) I can see that there is a checkbox under the Git page for "Configure automatic line endings handling by default (recommended)".
It is unchecked. When I close the Options window (either X or OK), the global setting for autocrlf is changed to false.
This is not intuitive. Is there any way to prevent this?

Thanks :)

1 answer

0 votes
Valerie Knapp
Community Champion
November 5, 2025

Hi @Niels Ole Holck , welcome to the Atlassian Community and thanks for your post.

Apologies for the delay in replying to you. Is this problem still persisting?

If so, does this help at all - https://stackoverflow.com/questions/25724969/sourcetree-line-ending-issue#:~:text=It%27s%20caused%20by%20git%20automatically%20converting%20your%20line,files%2C%20but%20the%20latter%20only%20hides%20the%20problem. ?

Best wishes

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events