1
0
mirror of synced 2025-12-23 03:44:00 -05:00

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:
Memmie Lenglet
2025-01-09 17:15:11 +01:00
committed by GitHub
parent 3890404d8c
commit f8b20d1cb6

View File

@@ -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"
```
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
git rm -rf --cached .
git reset --hard HEAD
git add --renormalize .
```
1. To display the rewritten, normalized files, run the following command.