Why does the folder managed by git change when I manually copy it directly from Windows to Linux?
PHPz
PHPz 2017-05-16 13:33:20
0
2
713

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?

PHPz
PHPz

学习是最好的投资!

reply all(2)
阿神

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!