Notes
Notes copied to clipboard
git开启区分大小写后, 删除重复的文件
- 让git区分大小写:
git config core.ignorecase false
- 删除缓存:
git rm -r --cached .
- 添加当前目录的所有文件:
git add .
- 写注释:
git commit -m 'fix: 修复git大小写不敏感造成的文件未上传'
- 提交:
git push