Answer the question
In order to leave comments, you need to log in
Why are all files added to a commit?
Hello, the essence of the problem:
1) I download the project from the repository
2) I change one file
3) I want to make a commit, ide hangs for a while
4) and immediately adds all the files to the commit list
You go into any of the files, no changes, webstorm writes no difference, in vscode the same way.
And I rolled back the files themselves and set the environment settings to default, anyway ..
Maybe because of prettier or eslint this thing happens?
Answer the question
In order to leave comments, you need to log in
precisely because of them: any change in the file (whitespace and / or line breaks) is a changed file.
Look through the console git for the difference between files that were not changed before and after changes were made in one file. Most likely, prettier or eslint formatted the code.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question