LoginSignup
144
90

More than 5 years have passed since last update.

git addしたらCRLF will be replaced by LFなエラー

Posted at

git addした時にこんなwarning

$git add .
warning: CRLF will be replaced by LF in cakephp/blog_app/vendor/seld/cli-prompt/res/hiddeninput.exe.
The file will have its original line endings in your working directory.

Gitが改行コードをCRLFへ変更しようとしているらしい

以下を実行する

$git config --global core.autoCRLF false

これで改行コードをCRLFへ変更しなくなる

144
90
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
144
90