linux环境下git clone出来的代码,譬如位于\home\testaccount\code,不对代码做任何修改。
用smbd将\home\testaccount映射到windows环境下,如z:\code
在windows环境下运行git bash之后,在git bash窗口下运行git status,发现有大量文件处于diff的状态,但是实际上文件内容没有被修改。
因为怀疑是unix/windows文件格式的问题,所以运行
git config --global core.autocrlf false
但是,问题依然存在。
请教一下,这是什么原因?谢谢!