Git · Setup and remotes

git config core.autocrlf

Controls line-ending conversion across Windows and Unix.

Syntax
git config --global core.autocrlf input

Example

Example
git config --global core.autocrlf input

More in this group

git clone --branch git clone --depth git config alias git config pull.rebase git init --bare git remote add git remote remove git remote set-url

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course