How do you change core.autocrlf when using SmartGit?

I have no experience with version control from the terminal, but as far as I can tell, SmartGit does not have a terminal and does not use an external git client, which I could configure through the terminal, so I can’t really see how I can execute git configuration commands. In particular, I want to do:

git config --global core.autocrlf true 

Does it have an equivalent configuration accessible from the user interface, or is there any other way to apply this?

+10
source share
2 answers

SmartGit / Hg uses the Git command line, which is configured in the settings. Both Git and SmartGit / Hg command-line commands will perform the global configuration of core.autocrlf from your .gitconfig file.

+5
source

If you have problems with the terminals, you can also edit the $ HOME / .gitconfig file on Linux or C: \ Users \% USERNAME% \ on Windows and add the following lines to it:

 [core] autocrlf = false 

You can also set the default EOL with:

 [core] eol = lf 
+3
source

All Articles