为什么每次执行 `Git add -A` 时提示一大堆换行符的问题?
1

vagrant@homestead:~/Code/larabbs$ git add -A
warning: CRLF will be replaced by LF in .editorconfig.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/js/app.js.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/CHANGES.md.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/LICENSE.md.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/contents.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/lang/_translationstatus.txt.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/a11yhelp/dialogs/lang/_translationstatus.txt.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/balloonpanel/skins/kama/balloonpanel.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/balloonpanel/skins/moono-lisa/balloonpanel.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/balloonpanel/skins/moono/balloonpanel.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/codesnippet/lib/highlight/CHANGES.md.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/codesnippet/lib/highlight/README.ru.md.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/codesnippet/lib/highlight/highlight.pack.js.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/codesnippet/lib/highlight/styles/arta.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/codesnippet/lib/highlight/styles/ascetic.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/codesnippet/lib/highlight/styles/atelier-dune.dark.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/codesnippet/lib/highlight/styles/atelier-dune.light.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/codesnippet/lib/highlight/styles/atelier-forest.dark.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/codesnippet/lib/highlight/styles/atelier-forest.light.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/codesnippet/lib/highlight/styles/atelier-heath.dark.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/codesnippet/lib/highlight/styles/atelier-heath.light.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/codesnippet/lib/highlight/styles/atelier-lakeside.dark.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/codesnippet/lib/highlight/styles/atelier-lakeside.light.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/codesnippet/lib/highlight/styles/atelier-seaside.dark.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/codesnippet/lib/highlight/styles/atelier-seaside.light.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/codesnippet/lib/highlight/styles/brown_paper.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/codesnippet/lib/highlight/styles/dark.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/codesnippet/lib/highlight/styles/default.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/codesnippet/lib/highlight/styles/docco.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/codesnippet/lib/highlight/styles/far.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/codesnippet/lib/highlight/styles/foundation.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/codesnippet/lib/highlight/styles/github.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/codesnippet/lib/highlight/styles/googlecode.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/codesnippet/lib/highlight/styles/idea.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/codesnippet/lib/highlight/styles/ir_black.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/codesnippet/lib/highlight/styles/magula.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/codesnippet/lib/highlight/styles/mono-blue.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/codesnippet/lib/highlight/styles/monokai.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/codesnippet/lib/highlight/styles/monokai_sublime.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/codesnippet/lib/highlight/styles/obsidian.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/codesnippet/lib/highlight/styles/paraiso.dark.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/codesnippet/lib/highlight/styles/paraiso.light.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/codesnippet/lib/highlight/styles/pojoaque.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/codesnippet/lib/highlight/styles/railscasts.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/codesnippet/lib/highlight/styles/rainbow.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/codesnippet/lib/highlight/styles/school_book.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/codesnippet/lib/highlight/styles/solarized_dark.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/codesnippet/lib/highlight/styles/solarized_light.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/codesnippet/lib/highlight/styles/sunburst.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/codesnippet/lib/highlight/styles/tomorrow-night-blue.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/codesnippet/lib/highlight/styles/tomorrow-night-bright.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/codesnippet/lib/highlight/styles/tomorrow-night-eighties.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/codesnippet/lib/highlight/styles/tomorrow-night.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/codesnippet/lib/highlight/styles/tomorrow.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/codesnippet/lib/highlight/styles/vs.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/codesnippet/lib/highlight/styles/xcode.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/codesnippet/lib/highlight/styles/zenburn.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/colordialog/dialogs/colordialog.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/copyformatting/styles/copyformatting.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/devtools/lang/_translationstatus.txt.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/preview/preview.html.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/scayt/CHANGELOG.md.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/scayt/LICENSE.md.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/scayt/dialogs/dialog.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/scayt/dialogs/toolbar.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/scayt/skins/moono-lisa/scayt.css.The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/specialchar/dialogs/lang/_translationstatus.txt.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/tableselection/styles/tableselection.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/templates/dialogs/templates.css. The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/uicolor/dialogs/uicolor.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/uicolor/lang/_translationstatus.txt.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/wsc/LICENSE.md.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/wsc/dialogs/ciframe.html.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/wsc/dialogs/tmpFrameset.html.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/wsc/dialogs/wsc.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/plugins/wsc/skins/moono-lisa/wsc.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/samples/css/samples.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/samples/index.html.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/samples/js/sample.js.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/samples/old/ajax.html.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/samples/old/api.html.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/samples/old/appendto.html.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/samples/old/assets/outputxhtml/outputxhtml.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/samples/old/assets/posteddata.php.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/samples/old/autogrow/autogrow.html.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/samples/old/bbcode/bbcode.html.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/samples/old/codesnippet/codesnippet.html.The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/samples/old/datafiltering.html.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/samples/old/devtools/devtools.html.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/samples/old/dialog/assets/my_dialog.js.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/samples/old/dialog/dialog.html.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/samples/old/divarea/divarea.html.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/samples/old/divreplace.html.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/samples/old/docprops/docprops.html.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/samples/old/enterkey/enterkey.html.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/samples/old/htmlwriter/outputforflash.html.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/samples/old/htmlwriter/outputhtml.html.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/samples/old/image2/image2.html.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/samples/old/index.html.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/samples/old/inlineall.html.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/samples/old/inlinebycode.html.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/samples/old/inlinetextarea.html.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/samples/old/jquery.html.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/samples/old/magicline/magicline.html.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/samples/old/mathjax/mathjax.html.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/samples/old/placeholder/placeholder.html.The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/samples/old/readonly.html.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/samples/old/replacebyclass.html.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/samples/old/replacebycode.html.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/samples/old/sample.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/samples/old/sample.js.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/samples/old/sample_posteddata.php.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/samples/old/sharedspace/sharedspace.html.The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/samples/old/sourcedialog/sourcedialog.html.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/samples/old/stylesheetparser/assets/sample.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/samples/old/stylesheetparser/stylesheetparser.html.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/samples/old/tabindex.html.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/samples/old/tableresize/tableresize.html.The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/samples/old/toolbar/toolbar.html.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/samples/old/uicolor.html.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/samples/old/uicolor/uicolor.html.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/samples/old/uilanguages.html.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/samples/old/wysiwygarea/fullpage.html.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/samples/old/xhtmlstyle.html.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/samples/toolbarconfigurator/css/fontello.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/samples/toolbarconfigurator/font/LICENSE.txt.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/samples/toolbarconfigurator/index.html.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/samples/toolbarconfigurator/lib/codemirror/codemirror.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/samples/toolbarconfigurator/lib/codemirror/neo.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/samples/toolbarconfigurator/lib/codemirror/show-hint.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/skins/kama/dialog.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/skins/kama/dialog_ie.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/skins/kama/dialog_ie7.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/skins/kama/dialog_ie8.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/skins/kama/dialog_iequirks.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/skins/kama/editor.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/skins/kama/editor_ie.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/skins/kama/editor_ie7.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/skins/kama/editor_ie8.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/skins/kama/editor_iequirks.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/skins/kama/readme.md.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/skins/moono-lisa/dialog.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/skins/moono-lisa/dialog_ie.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/skins/moono-lisa/dialog_ie8.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/skins/moono-lisa/dialog_iequirks.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/skins/moono-lisa/editor.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/skins/moono-lisa/editor_gecko.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/skins/moono-lisa/editor_ie.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/skins/moono-lisa/editor_ie8.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/skins/moono-lisa/editor_iequirks.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/skins/moono-lisa/readme.md.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/skins/moono/dialog.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/skins/moono/dialog_ie.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/skins/moono/dialog_ie7.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/skins/moono/dialog_ie8.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/skins/moono/dialog_iequirks.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/skins/moono/editor.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/skins/moono/editor_gecko.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/skins/moono/editor_ie.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/skins/moono/editor_ie7.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/skins/moono/editor_ie8.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/skins/moono/editor_iequirks.css.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/skins/moono/readme.md.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in public/packages/summerblue/administrator/js/ckeditor/styles.js.
The file will have its original line endings in your working directory.

每次只要改点东西,add 的时候就提示一大堆换行符的问题。
你们有遇到过这样的问题么?

《L01 基础入门》
我们将带你从零开发一个项目并部署到线上,本课程教授 Web 开发中专业、实用的技能,如 Git 工作流、Laravel Mix 前端工作流等。
《L03 构架 API 服务器》
你将学到如 RESTFul 设计风格、PostMan 的使用、OAuth 流程,JWT 概念及使用 和 API 开发相关的进阶知识。
最佳答案

遇到过,Summer 这个扩展包里很多文件的换行符都是 CRLF ,每次 add 的时候都会进行一次转换,然后我现在在用 Linux 桌面练习,索性就把 public/packages/summerblue/administrator/ 目录下的所有文件的换行符都用 dos2unix 转换成了 LF ,就没有这样的提醒了,不过每次执行完 npm run devpublic/js/app.js 的换行符文件都会莫名被转换为 CRLF ,原因未知,手动保存一次可解,有空的话看看到底是什么原因。

5个月前
讨论数量: 15

linux中的换行跟windows不一样 所以有这个报错,对系统本身没影响

6个月前

@godfyun 我知道这个提示的意思。我是奇怪每次 git add -A 的时候都会提示很多我根本没有修改的文件,都是 administrator 下面的 js css 什么的。正常情况下没修改的文件不应该提示这个的,现在导致我每次 add 的时候特别慢,必须要等他处理完这茫茫多的根本每变的文件换行符以后才行。

6个月前

这块我倒是没遇到过

6个月前

遇到过,Summer 这个扩展包里很多文件的换行符都是 CRLF ,每次 add 的时候都会进行一次转换,然后我现在在用 Linux 桌面练习,索性就把 public/packages/summerblue/administrator/ 目录下的所有文件的换行符都用 dos2unix 转换成了 LF ,就没有这样的提醒了,不过每次执行完 npm run devpublic/js/app.js 的换行符文件都会莫名被转换为 CRLF ,原因未知,手动保存一次可解,有空的话看看到底是什么原因。

5个月前

@doderic 只要手动把 public/packages/summerblue/administrator/ 下的文件都修改成 LF 就可以了? 我去试试

5个月前

@tooyond 至少我实践下来是这样的,没有转换之前,我用 vscode 查看,所有报 warning 文件的换行符都是 CRLF ,这也就是每次都报 warning 的根源。

5个月前

@doderic 感谢回答
我很难理解这件事,这种提示应该是只显示一次,以后提交就不会显示了,不晓得为什么这个文件夹下面的换行一遍一遍的提示。我已经按照你说的步骤进行修改了,后续再提交的时候看看还会不会出。触发提示的机制让我很迷茫,有时候修改别的文件不会显示这些,有时候就会,还是偶发的。

5个月前

@tooyond
这个不难理解, Git 有一个自动转换的功能 ,配置项为 core.autocrlf 默认值为 ture ,对于源文件为 CRLF 的情况,提交时转换为 LF ,检出时转换为 CRLF ,这就是问题所在,每次提交都会进行一次转换。

解决方法有两个:
1. 将 core.autocrlf 的值设为 false, 关闭自动转换,这样软件仓库将保留 CRLF 换行符;
2. 将所有的 CRLF 全部转换为 LF

5个月前

@doderic 你说的这个功能我了解,git 也用了好几年了,只是这种没做修改的文件反复提示我换行符还是第一次遇到。

5个月前

@doderic 不行啊,我用了 dos2unix 转换行符了,还是出现那种情况,很郁闷啊。
我的是 win10

5个月前

@tooyond Windows 下没有 dos2unix 这个工具,莫非是在 homestead 里转的? 编辑器也可以转,就是麻烦一些。

5个月前

@doderic 有啊 我用的是 dos2unix-7.4.0-win64,里面有四个文件 dos2unix.exe、mac2unix.exe、unix2dos.exe、unix2mac.exe。
那我再试试看,可能哪搞错了。

5个月前

@doderic 顶用 谢谢 上次用错了

5个月前

@doderic 我知道为啥以前我一直没遇到了,我用的是 Sourcetree,他没有这个问题。

5个月前
  • public/packages/summerblue/administrator 这个目录没有必要加入git,你可以直接 git rm -rf --cached public/packages,然后修改 .gitignore,加入一行
    /public/packages, 然后再 git add -A 就不会出现这些提示了。
3个月前

  请勿发布不友善或者负能量的内容。与人为善,比聪明更重要!