Git错误:致命:'core.trustctime'的错误数字配置值'falseexit':无效单位 [英] Git Error: fatal: bad numeric config value 'falseexit' for 'core.trustctime': invalid unit
本文介绍了Git错误:致命:'core.trustctime'的错误数字配置值'falseexit':无效单位的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在使用 git init
命令甚至其他命令(例如 git clone
)时,我都会收到此错误.
I am getting this error when using git init
command and even for other commands like git clone
.
git init
fatal: bad numeric config value 'falseexit' for 'core.trustctime': invalid unit
推荐答案
core.trustctime
必须为布尔值:yes/no/1/0/true/false.您的git配置文件中有一个错误.编辑.gitconfig或.git/config并将 falseexit 更改为 false .
core.trustctime
must be boolean: yes/no/1/0/true/false. You have an error in your git config file. Edit .gitconfig or .git/config and change falseexit to just false.
PS. falseexit ,嗯...似乎有人试图退出vim,而无需从插入模式切换到普通模式.
PS. falseexit, hm... seems someone has tried to exit vim without switching from insert mode to normal mode.
这篇关于Git错误:致命:'core.trustctime'的错误数字配置值'falseexit':无效单位的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文