我正在使用git存储库.一切正常,除了git diff命令.每当我修改任何文件时,即使我修改了一小部分代码,也会修改显示整个文件的git diff命令.
可能是什么原因导致git diff显示整个文件被修改而不是代码的一小部分?另请告诉我git diff配置的设置.
diff --git a/application/routes.php b/application/routes.php
index 2842f8d..6629d16 100755
--- a/application/routes.php
+++ b/application/routes.php @@ -1,671 +1,676 @@ -<?php -/** - * Set the routes. Each route must have a minimum of a name, a URI and a set of - * defaults for the URI. - / -?> +<?php +/* + * Set the routes. Each route must have a minimum of a name, a URI and a set of + * defaults for the URI. + */ +?>
Run Code Online (Sandbox Code Playgroud)