Change to git add renormalize command after changing line endings (#35841)
Co-authored-by: Alex Nguyen <150945400+nguyenalex836@users.noreply.github.com>
This commit is contained in:
@@ -117,11 +117,10 @@ To ensure that all the line endings in your repository match your new configurat
|
|||||||
git commit -m "Saving files before refreshing line endings"
|
git commit -m "Saving files before refreshing line endings"
|
||||||
```
|
```
|
||||||
|
|
||||||
1. To update all files on the current branch to reflect the new configuration, run the following commands.
|
1. To update all files on the current branch to reflect the new configuration, run the following command.
|
||||||
|
|
||||||
```shell copy
|
```shell copy
|
||||||
git rm -rf --cached .
|
git add --renormalize .
|
||||||
git reset --hard HEAD
|
|
||||||
```
|
```
|
||||||
|
|
||||||
1. To display the rewritten, normalized files, run the following command.
|
1. To display the rewritten, normalized files, run the following command.
|
||||||
|
|||||||
Reference in New Issue
Block a user