【场景一】
Commit failed with error
0 files committed, 4 files failed to commit: *****
On branch feature/*******
Your branch is up-to-date with 'origin/feature/*******'.
nothing to commit, working tree clean
原因
git默认配置为忽略大小写,因此无法正确检测大小写的更改
解决方法
运行git config core.ignorecase false,关闭git忽略大小写配置,即可检测到大小写名称更改