Git init: fatal: could not set 'core.filemode' to 'false'
问题 Using Team City to check out from a Git Repo. (Gitlabs if it matters) Start with Empty build directory. Get this error: fatal: could not set 'core.filemode' to 'false' (Running on a Windows machine, if that matters) The user that Team City is running on was changed to an Admin just in case. The .Git directory is not a valid Repo when this command exits. Wiping the entire 'work' directory doesn't help. It randomly comes and goes... AND this: git config --global --replace-all core.fileMode