git status
显示以下消息:
lit/1252-a-comparison-between-neural-networks-and-other-statistical-techniques-for-modeling-the-relationship-between-tobacco-and-alcohol-and-cancer.pdf: File name too long
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working tree clean.
此文件已删除,我可以使用以下命令确认:
git ls-files --deleted
输出:
lit/1252-a-comparison-between-neural-networks-and-other-statistical-techniques-for-modeling-the-relationship-between-tobacco-and-alcohol-and-cancer.pdf
当我尝试使用git ls-files --deleted | xargs git rm
删除它时没有任何效果,但在删除此文件之前,我无法对存储库进行更改。
我也试过使用:git config --system core.longpaths true
但没有成功。
我想知道如何解决这个问题?