【发布时间】:2021-06-18 21:03:34
【问题描述】:
从 master 克隆项目时出现以下错误:
错误:无效路径“.editorconfig” 致命:无法签出工作树 警告:克隆成功,但结帐失败。 您可以检查使用“git status”签出的内容 并使用 'git restore --source=HEAD :/' 重试
下面是我的 .editorconfig 文件中的配置
# editorconfig
root = true
[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
3
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false
【问题讨论】:
标签: git github editorconfig