Many thanks to @sharwell for originally pushing for this in #28945
.gitattributes filecore.safecrlfcore.safecrlf@Microsoft/vscode
I have introduced a .gitattributes file. This means we no longer have to (or even should) configure the autocrlf and safecrlf git settings. We used to recommend Windows users to use core.autocrlf=false and core.safecrlf=true. You can now remove those customisations.
Regardless of your platform, you should pull and re-checkout the entire vscode repository. First, make sure you have a clean working directory: no changes! Then:
git pull
git rm --cached -r .
git reset --hard
Most helpful comment
@Microsoft/vscode
I have introduced a
.gitattributesfile. This means we no longer have to (or even should) configure theautocrlfandsafecrlfgit settings. We used to recommend Windows users to usecore.autocrlf=falseandcore.safecrlf=true. You can now remove those customisations.What should I do?
Regardless of your platform, you should pull and re-checkout the entire vscode repository. First, make sure you have a clean working directory: no changes! Then: