Merge branch 'tb/doc-eol-normalization'
Doc update. * tb/doc-eol-normalization: gitattributes.txt: document how to normalize the line endings
This commit is contained in:
@ -229,11 +229,9 @@ From a clean working directory:
|
||||
|
||||
-------------------------------------------------
|
||||
$ echo "* text=auto" >.gitattributes
|
||||
$ rm .git/index # Remove the index to force Git to
|
||||
$ git reset # re-scan the working directory
|
||||
$ rm .git/index # Remove the index to re-scan the working directory
|
||||
$ git add .
|
||||
$ git status # Show files that will be normalized
|
||||
$ git add -u
|
||||
$ git add .gitattributes
|
||||
$ git commit -m "Introduce end-of-line normalization"
|
||||
-------------------------------------------------
|
||||
|
||||
|
Reference in New Issue
Block a user