D:\MrXu>git add --allD:\MrXu>git status -s
m Other-Git-Project/Webpack-Template
m ylbs/IM/NIM_Web_DemoD:\MrXu>上面的是我執(zhí)行命令的效果。多次執(zhí)行也不管用D:\MrXu>git diff
diff --git a/Other-Git-Project/Webpack-Template b/Other-Git-Project/Webpack-Template
--- a/Other-Git-Project/Webpack-Template
+++ b/Other-Git-Project/Webpack-Template
@@ -1 +1 @@
-Subproject commit 5c19a70e4638be0736cd538cef62f8b8385f8ea3
+Subproject commit 5c19a70e4638be0736cd538cef62f8b8385f8ea3-dirty
diff --git a/ylbs/IM/NIM_Web_Demo b/ylbs/IM/NIM_Web_Demo
--- a/ylbs/IM/NIM_Web_Demo
+++ b/ylbs/IM/NIM_Web_Demo
@@ -1 +1 @@
-Subproject commit c5fceee0f2a3f11896b630ea98fb5d8497a69d29
+Subproject commit c5fceee0f2a3f11896b630ea98fb5d8497a69d29-dirtyD:\MrXu>上面是使用git diff 命令提示的暫存區(qū)跟工作目錄存在的區(qū)別。這個(gè)命令不太會(huì)用,不能夠具體定位到到底是哪個(gè)文件存在了修改。其他文件修改了都能夠提交。只有上面的內(nèi)容提交存在問題
為什么使用了git add --all之后還是有文件提交不上來?
瀟湘沐
2018-07-15 12:02:26