Ignore changes to file permissions or file owner in Git

Operate in the current project root directory

$ git config core.filemode false  // 当前版本库
$ git config --global core.fileMode false // 所有版本库
$ cat .git/config // 查看git的配置文件

references::

https://www.cnblogs.com/itsharehome/p/4866837.html

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325450999&siteId=291194637