LoginSignup
1
0

More than 1 year has passed since last update.

warning: in the working copy of '.editorconfig', LF will be replaced by CRLF the next time Git touches it

Last updated at Posted at 2022-12-14

この警告は「LFな改行コードは自動でCRLFに置き換えるで?」ということを言ってるらしい。

置き換えないようにお願いしましょう

> git config core.autoCRLF
true

git config core.autoCRLF false

> git config core.autoCRLF
false

laravel使ってたらwarningなった

composer create-project laravel/laravel example-app
cd example-app
git init
git add .
warning: in the working copy of '.editorconfig', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '.env.example', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '.gitattributes', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '.gitignore', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'README.md', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'app/Console/Kernel.php', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'app/Exceptions/Handler.php', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'app/Http/Controllers/Controller.php', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'app/Http/Kernel.php', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'app/Http/Middleware/Authenticate.php', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'app/Http/Middleware/EncryptCookies.php', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'app/Http/Middleware/PreventRequestsDuringMaintenance.php', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'app/Http/Middleware/RedirectIfAuthenticated.php', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'app/Http/Middleware/TrimStrings.php', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'app/Http/Middleware/TrustHosts.php', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'app/Http/Middleware/TrustProxies.php', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'app/Http/Middleware/ValidateSignature.php', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'app/Http/Middleware/VerifyCsrfToken.php', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'app/Models/User.php', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'app/Providers/AppServiceProvider.php', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'app/Providers/AuthServiceProvider.php', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'app/Providers/BroadcastServiceProvider.php', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'app/Providers/EventServiceProvider.php', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'app/Providers/RouteServiceProvider.php', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'artisan', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'bootstrap/app.php', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'bootstrap/cache/.gitignore', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'composer.json', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'composer.lock', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'config/app.php', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'config/auth.php', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'config/broadcasting.php', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'config/cache.php', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'config/cors.php', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'config/database.php', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'config/filesystems.php', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'config/hashing.php', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'config/logging.php', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'config/mail.php', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'config/queue.php', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'config/sanctum.php', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'config/services.php', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'config/session.php', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'config/view.php', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'database/.gitignore', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'database/factories/UserFactory.php', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'database/migrations/2014_10_12_000000_create_users_table.php', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'database/migrations/2014_10_12_100000_create_password_resets_table.php', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'database/migrations/2019_08_19_000000_create_failed_jobs_table.php', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'database/seeders/DatabaseSeeder.php', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'lang/en/auth.php', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'lang/en/pagination.php', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'lang/en/passwords.php', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'lang/en/validation.php', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'package.json', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'phpunit.xml', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'public/.htaccess', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'public/index.php', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'public/robots.txt', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'resources/js/app.js', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'resources/js/bootstrap.js', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'resources/views/welcome.blade.php', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'routes/api.php', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'routes/channels.php', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'routes/console.php', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'routes/web.php', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'storage/app/.gitignore', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'storage/app/public/.gitignore', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'storage/framework/.gitignore', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'storage/framework/cache/.gitignore', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'storage/framework/cache/data/.gitignore', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'storage/framework/sessions/.gitignore', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'storage/framework/testing/.gitignore', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'storage/framework/views/.gitignore', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'storage/logs/.gitignore', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'tests/CreatesApplication.php', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'tests/Feature/ExampleTest.php', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'tests/TestCase.php', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'tests/Unit/ExampleTest.php', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'vite.config.js', LF will be replaced by CRLF the next time Git touches it
1
0
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
1
0