Skip to content

Commit e7077f3

Browse files
authored
Change the command to git add renormalize
1 parent aa20214 commit e7077f3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

content/get-started/getting-started-with-git/configuring-git-to-handle-line-endings.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,10 @@ To ensure that all the line endings in your repository match your new configurat
117117
git commit -m "Saving files before refreshing line endings"
118118
```
119119

120-
1. To update all files on the current branch to reflect the new configuration, run the following commands.
120+
1. To update all files on the current branch to reflect the new configuration, run the following command.
121121

122122
```shell copy
123-
git rm -rf --cached .
124-
git reset --hard HEAD
123+
git add --renormalize .
125124
```
126125

127126
1. To display the rewritten, normalized files, run the following command.

0 commit comments

Comments
 (0)