Information Technology Reference
In-Depth Information
The second choice, input , turns the conversion of new lines only when you com-
mit. In this case git converts the line endings from CRLF to LF.
The third setting ( false ) turns all the conversions off.
The conversion of end-of-line characters is explained in greater detail in Recipes
13-2 through 13-6. No matter which is your current choice, you can always change the
setting using one of these commands:
$ git config --global core.autocrlf true
$ git config --global core.autocrlf input
$ git config --global core.autocrlf false
When the installer finishes, run the git bash application available in the Start menu.
To verify that the installation was successful, you can run the command:
$ git --version
It should print the version of git installed on your system.
Hint If you want to change the current directory to the root directory of drive c use
the following command: $ cd /c
This is the equivalent of the command: c:
1-2. Installing git on Linux
Problem
You want to install git on Linux.
Solution
Depending on your system run one of the commands:
Search WWH ::




Custom Search