Why do you always delete all and then add all when you git diff?

I don"t know what parameters are set by git. If you execute git diff , you will delete all the files taken by others and add them again. What is the reason?

clipboard.png

clipboard.png

clipboard.png

by the way, can I reset the global settings for git? The configuration remains after reinstalling git.

Git
Jul.09,2022

tested the configuration myself and found that
clipboard.png
core.autocrlf was previously set to false. Just delete his configuration.

In fact, another reason is that I have opened ESLint . When I save it, my vscode will automatically convert the end-of-line sequence of the file to LF, which will cause all deletions and additions.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b97fd0-51d2b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b97fd0-51d2b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?