Answer the question
In order to leave comments, you need to log in
How to change autocrlf to false in Sourcetree?
I'm trying to compare the remote repository with the current one, but Sourcetree shows a lot of changed files. And all changes are associated with gaps. The search showed that the whole problem is in autocrlf.
Decided to turn it off. In the console I execute the following commands:
$ git config --global core.autocrlf false
$ git config --global core.safecrlf false As a result, the lines
autocrlf = false
safecrlf = false
appeared in the C:\Users\User\.gitconfig file
And in the local repository Repositories\.git\config these lines did not appear, I had to enter them manually.
But for some reason nothing has changed, I type in the console git config --list
And there
core.autocrlf=true
How can I disable this autocrlf in Sourcetree ?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question