File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -96,21 +96,22 @@ Set up your user information with your real name and a working email address:
96
96
.. tip ::
97
97
98
98
Windows users: when installing Git, the installer will ask what to do with
99
- line endings and suggests to replace all Lf by CrLf. This is the wrong
100
- setting if you wish to contribute to Symfony! Either select the as-is method
101
- or the Lf method. If you have already installed Git, you can check the value
102
- of this setting by typing:
99
+ line endings and suggests to replace all Lf by CRLF. This is the wrong
100
+ setting if you wish to contribute to Symfony! Selecting the as-is method is
101
+ your best choice, as git will convert your line feeds to the ones in the
102
+ repository. If you have already installed Git, you can check the value of
103
+ this setting by typing:
103
104
104
105
.. code-block :: bash
105
106
106
107
$ git config core.autocrlf
107
108
108
- This will return either "false", "input" or "true", "true" being the wrong
109
- value . Set it to another value by typing:
109
+ This will return either "false", "input" or "true", "true" and "false" being
110
+ the wrong values . Set it to another value by typing:
110
111
111
112
.. code-block :: bash
112
113
113
- $ git config --global core.autocrlf false
114
+ $ git config --global core.autocrlf input
114
115
115
116
Replace --global by --local if you want to set it only for the active
116
117
repository
You can’t perform that action at this time.
0 commit comments