我试图推动文件上githum,但它给予我这样的错误。
警告:在的工作副本中
.dart_tool/dartpad/web_plugin_registrant.dart', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '.dart_tool/flutter_build/5858a742c42e73c8f0e5b45ebdff649f/kernel_snapshot.d', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '.dart_tool/package_config.json', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of '.dart_tool/package_config_subset', 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 'analysis_options.yaml', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'android/.gitignore', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'android/app/build.gradle', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'android/app/src/debug/AndroidManifest.xml', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'android/app/src/main/AndroidManifest.xml', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'android/app/src/main/kotlin/com/example/lgoin_ui/MainActivity.kt', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'android/app/src/main/res/drawable-v21/launch_background.xml', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'android/app/src/main/res/drawable/launch_background.xml', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'android/app/src/main/res/values-night/styles.xml', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'android/app/src/main/res/values/styles.xml', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'android/app/src/profile/AndroidManifest.xml', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'android/build.gradle', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'android/gradle.properties', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'android/gradle/wrapper/gradle-wrapper.properties', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'android/lgoin_ui_android.iml', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'android/settings.gradle', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'build/app/generated/source/buildConfig/debug/com/example/lgoin_ui/BuildConfig.java', LF will be replaced by CRLF the next time Git touches it
我正在尝试在github上添加代码
1条答案
按热度按时间9udxz4iz1#
您可以尝试此答案中推荐的命令
git config --global core.autocrlf false
In this question。