rvsbox2015-08-22 13:53:04
rvsbox, 2015-08-22 13:53:04

How to index gulp-sass files in git?

Can't index my project in git system. Swears at gulp-sass.
The file will have its original line edings in your working directory.
warning: LF will be replaced by CRLF in [path to plugin files]
about 50-100 files, and at the end
The file will have its original line endings in your working directory.
fatal: unable to stat 'node_modules/gulp-sass/node_modules/node-sass/node_module
nc/node_modules/spawn-sync/ node_modules/concat-stream/node_modules/readable-stre
am/node_modules/core-util-is/README.md': Filename too long Read
here jenyay.net/Git/Autocrlf
It is clear what the problem is, but it did not work out. Used commands:
From the left forum -------------------------------------- -------------------------------------------------- ---------------------
core.safecrlf true - this option is null to prevent lf<->crlf autocorrect. This can be useful if you have some specific binaries that are very similar to text files.
core.safecrlf warn - allows you to autocorrect, but with swearing in the console in the form of warnings.
I use core.autocrlf true, core.eol native(default) , core.safecrlf false(default)
------------------------- -------------------------------------------------- -------------------------------------------------- ------------
did not help.
As a result, I removed gulp-sass and did git status, the hat turned
out "node_modules/gulp/node_modules/vinyl-fs/node_modules/glob-watcher/node_
modules/gaze/node_modules/globule/lib/globule (\320\232\320\276 \320\275\321\204\
320\273\320\270\320\272\321\202\321\203\321\216\321\211\320\260\321\217 \320\272
\320 \276\320\277\320\270\321\217 \321\201 \320\272\320\276\320\274\320\277\321\2
14\321\216\321\202\320\ 265\321\200\320\260 acer 2015-08-22).js"
nothing added to commit but untracked files present (use "git add" to track)
[email protected] /D/Dropbox/wd_code (master)
If if it were 2-10, then I think the problem would be solved. It would not be too lazy to save these files through the IDE in the desired format. What about gulp-sass and other plugins????

Answer the question

In order to leave comments, you need to log in

1 answer(s)
rvsbox, 2015-08-22

I tried the gulp-cr-lf-replace plugin, something I have crooked hands or syuji-higa did it in Japanese. He writes something "dest する前に pipe でつなげるように修正
give a command to convert the entire directory with subfolders.
command for single file unix2dos a.txt
----------------------- -------------------------------------------------- -------------------------------------------------
[email protected] /d/01 /project (master)
$ unix2dos $big/*
unix2dos: converting file d:/01/project/array-diff/array-uniq to DOS format ..
unix2dos: problems converting file d:/01/project/array-differ/array-uniq
and if:
[email protected] /d/01/project (master)
$ unix2dos $big/**/**/**/*
unix2dos : converting file d:/01/project/array-differ/array-uniq/beeper/index.js
to DOS format ...
unix2dos: converting file d:/01/project/array-differ/array-uniq/beeper/ license t
o DOS format ...
unix2dos: converting file d:/01/project/array-differ/array-uniq/beeper/package.j
son to DOS format ...
unix2dos: converting file d:/01/project/ array-diff/array-uniq/beeper/readme.md
to DOS format ...
[email protected] /d/01/project (master)
how can $ unix2dos $big/**/**/**/* write this command compactly and not count the number of nestings??

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question