Our project uses Team Foundation Server, Git repository, and IDE is VS. But every time I clone the code, nothing is done. There are many modifications in git status, and they can't be undone. It's very annoying. Please give me some advice! ! ! ! ! Thanks! ! !
These modifications may be files automatically generated by the compiler, or the corresponding configuration may be modified based on the local environment to ensure the normal operation of the project.
Solution:
Add the file automatically generated by the IDEIgnore the file, and it will not be added to git version management
If you have set ignored files before, you need to clear the cache and add the ignored files again.