Created
December 28, 2020 11:51
-
-
Save ThaddeusJiang/f04e6c93df149a46f6323b6114f2caf3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 解决方法 | |
| 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