Skip to content

Commit

Permalink
Change to git add renormalize command after changing line endings (#3…
Browse files Browse the repository at this point in the history
…5841)

Co-authored-by: Alex Nguyen <[email protected]>
  • Loading branch information
mems and nguyenalex836 authored Jan 9, 2025
1 parent 3890404 commit f8b20d1
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f8b20d1

Please sign in to comment.