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 false
Does nothing useful - with or without the --replace-all, and run as admin, or another user (if you change 'false' to 'true' you get the same error, if you change it to 'falseCD' it changes the error to that being an invalid value - so clearly, it is changing it.
Anyone got any ideas?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…