坑爹的git diff

[Administrator@RobertNote@/e/SRAll/AllMayDay/2016-08-26/2017-03_Arch/GitLatest/CEP@周二 2017-12-12@16:42:26]
7553 $ git diff defaultVars/CEP/defaultVars.substvar
diff --git a/defaultVars/CEP/defaultVars.substvar b/defaultVars/CEP/defaultVars.substvar
index 71b760c..eb0670f 100644
--- a/defaultVars/CEP/defaultVars.substvar
+++ b/defaultVars/CEP/defaultVars.substvar
@@ -1,13 +1,13 @@
-
-

  •   
    
  •           
    
  •                   emsserver
    
  •                   tcp://172.17.0.12:7222
    
  •                   true
    
  •                   false
    
  •                   String
    
  •                   1504235354712
    
  •           
    
  •   
    

-
+
+

  •   
    
  •           
    
  •                   emsserver
    
  •                   tcp://localhost:7222
    
  •                   true
    
  •                   false
    
  •                   String
    
  •                   1513067110187
    
  •           
    
  •   
    

+
\ No newline at end of file
[Administrator@RobertNote@/e/SRAll/AllMayDay/2016-08-26/2017-03_Arch/GitLatest/CEP@周二 2017-12-12@16:42:31]
7554 $ git config --global core.autocrlf true
[Administrator@RobertNote@/e/SRAll/AllMayDay/2016-08-26/2017-03_Arch/GitLatest/CEP@周二 2017-12-12@16:43:11]
7555 $ git diff defaultVars/CEP/defaultVars.substvar
diff --git a/defaultVars/CEP/defaultVars.substvar b/defaultVars/CEP/defaultVars.substvar
index 71b760c..a481a29 100644
--- a/defaultVars/CEP/defaultVars.substvar
+++ b/defaultVars/CEP/defaultVars.substvar
@@ -3,11 +3,11 @@


emsserver

  •                   tcp://172.17.0.12:7222
    
  •                   tcp://localhost:7222
                      true
                      false
                      String
    
  •                   1504235354712
    
  •                   1513067110187
              
      
    

-
+
\ No newline at end of file


注释: 太坑爹了,只有再次执行 git config --global core.autocrlf true
才可以让diff显示少点儿完全没被修改的东西!!

你可能感兴趣的:(坑爹的git diff)