Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.0k views
in Technique[技术] by (71.8m points)

teamcity - 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 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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...