Skip to content

Instantly share code, notes, and snippets.

@ThaddeusJiang
Created December 28, 2020 11:51
Show Gist options
  • Save ThaddeusJiang/f04e6c93df149a46f6323b6114f2caf3 to your computer and use it in GitHub Desktop.
Save ThaddeusJiang/f04e6c93df149a46f6323b6114f2caf3 to your computer and use it in GitHub Desktop.
解决方法
1. 先删除文件,再加进去
```
git rm <filename>
git add <filename>
git add commit -m “rename file"
```
2. 添加全局配置,防止再次发生
```
git config —global core.ignorecase false
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment