I'm using Git-1.9.0-preview20140217
for Windows. 我正在Windows上使用Git-1.9.0-preview20140217
。 As I know, this release should fix the issue with too long filenames. 据我所知,此版本应解决文件名过长的问题。 But not for me. 可是不适合我。 node
Surely I'm doing something wrong: I did git config core.longpaths true
and git add .
固然,我作错了:我作了git config core.longpaths true
和git add .
and then git commit
. 而后git commit
。 Everything went well. 一切顺利。 But when I now do a git status
, I get a list of files with Filename too long
, for example: 可是,当我如今执行git status
,会获得文件Filename too long
的文件列表,例如: git
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
It is quite simple to reproduce for me: just create a Yeoman web application with the Angular generator ("yo angular") and remove node_modules
from the .gitignore
file. 对我来讲,复制很是简单:只需使用Angular生成器(“ yo angular”)建立Yeoman Web应用程序, node_modules
从.gitignore
文件中删除node_modules
。 Then repeat the aforementioned Git commands. 而后重复上述Git命令。 web
What am I missing here? 我在这里想念什么? app