Vscode: Move to .gitattributes

Created on 5 Mar 2018  路  1Comment  路  Source: microsoft/vscode

Many thanks to @sharwell for originally pushing for this in #28945

debt engineering verified

Most helpful comment

@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.

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:

git pull
git rm --cached -r .
git reset --hard

>All comments

@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.

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:

git pull
git rm --cached -r .
git reset --hard
Was this page helpful?
0 / 5 - 0 ratings

Related issues

biij5698 picture biij5698  路  3Comments

curtw picture curtw  路  3Comments

sirius1024 picture sirius1024  路  3Comments

omidgolparvar picture omidgolparvar  路  3Comments

NikosEfthias picture NikosEfthias  路  3Comments