Git global core.fileMode false overridden locally on clone

前端 未结 2 535
时光说笑
时光说笑 2021-01-11 15:34

Reading this, I was able to configure both globally and locally my fileMode config to false.

However, when I git clone, git keeps initializ

2条回答
  •  广开言路
    2021-01-11 16:00

    Clone, like init, always sets a local core.filemode when it creates a new repository. See my answer to this question for details. The only way to clobber the local setting after a clone is to do it manually (e.g., by having a wrapper command that does the clone, then goes into the clone and removes the setting).

提交回复
热议问题