about two files can‘t commit

在Windows环境下,由于文件名不区分大小写,导致项目中出现名为STL和stl的两个同名文件夹,这在使用WSL和CLion进行开发时引发了问题。删除Gitee上的冗余stl文件夹并重新克隆仓库解决了这个问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

situation

There are two files in folder ‘STL’ can’t be committed.

Reason

There’re actually two folder with the same (case insensitive) folder in my project called ‘STL’ and ‘stl’. I worked on my Windows computer and use WSL to compile with CLion as my IDE. Windows system’s folder names are case insensitive, so there is only one ‘STL’ folder on my local directory. That may be the problem. So I delete the useless ‘stl’ folder on gitee.com and clone this repository. That solved my problem.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值