I don’t know what parameters git sets, files that others bring in, execute
git diffAll will be deleted once and added again. What is the reason?
By the way, can I reset the global settings of git? The configuration was retained after the git was reloaded.
I tested the configuration myself and found it was
core.autocrlfIt was previously set to false, just delete his configuration.
In fact, there is another reason, is that I opened
ESLintWhen I save it, my vscode will automatically convert the end-of-line sequence of the file into LF, resulting in full deletion and full increase.