我正在使用Git-1.9.0-preview20140217Windows.据我所知,这个版本应该解决文件名太长的问题.但不适合我.
当然,我做错了什么:我没有git config core.longpaths true和git add .再git commit.一切顺利.但是当我现在做的时候git status,我会得到一个文件列表Filename too long,例如:
node_modules/grunt-contrib-imagemin/node_modules/pngquant-bin/node_modules/bin-wrapper/node_modules/download/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/test/integration/test-handle-source-errors.js: Filename too long
Run Code Online (Sandbox Code Playgroud)
复制对我来说非常简单:只需使用Angular生成器创建一个Yeoman Web应用程序("yo angular")并node_modules从.gitignore文件中删除.然后重复上述Git命令.
我在这里错过了什么?