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?
阿神2017-05-16 13:35:20
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.
某草草2017-05-16 13:35:20
The newline character at the end of the file under Windows is different from the newline character at the end of Linux