Why does the folder managed by git change when manually copied directly from Windows to Linux?
Almost all files are considered to be modified
status by git under Linux.
What is the difference between this and pushing to github or other git servers, and then cloning or pulling from the server?
I think it may be a problem with the file attributes. When copied from win to linux, the permissions of the file have changed, causing the system to think so.
The newline character at the end of the file under Windows is different from the newline character at the end of Linux