0
点赞
收藏
分享

微信扫一扫

ElasticSearch中的分片,副本分别表示什么

罗蓁蓁 04-13 06:00 阅读 0
git

Clone succeeded, but checkout failed: Filename too long

原因: 由于系统限制,路径太长,无法检出

解决方案:

# git允许长路径,在已clone的仓库执行
git config core.longpaths true
# 再次检出
git checkout -f HEAD

关于git config中添加--global或者--system

–local: 默认,仅作用于当前本地仓库, 位于$GIT_DIR/config

git config --global core.longpaths true

–global: 作用于当前用户, 位于~/.gitconfig

–system: 作用于所有用户, 位于 $(安装目录)/etc/gitconfig

可以使用git config --list --show-origin --show-scope命令查看配置以及位置

image-20240412120703558

举报

相关推荐

0 条评论