Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change to git add renormalize command after changing line endings #35841

Merged
merged 2 commits into from
Jan 9, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading