Currently i'm working with yii2, tfs. I need to migrate to my own git server.
local git server has been set up
now I git init my local yii2 project
now git status
return all untracked file.
then I git add .
then I check git status
but it give me
$ git status
On branch master
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
(commit or discard the untracked or modified content in submodules)
modified: vendor/kartik-v/yii2-date-range (untracked content)
modified: vendor/kartik-v/yii2-grid (untracked content)
modified: vendor/kartik-v/yii2-widget-depdrop (modified content)
modified: vendor/kartik-v/yii2-widget-fileinput (untracked content)
no changes added to commit (use "git add" and/or "git commit -a")
I don't know what is that as I don't make change to those file
there is many package in vendor, but just thus which remain untracked and modified.
then I commit as hint says but it give me
$ git commit -m "a"
On branch master
Changes not staged for commit:
modified: vendor/kartik-v/yii2-date-range (untracked content)
modified: vendor/kartik-v/yii2-grid (untracked content)
modified: vendor/kartik-v/yii2-widget-depdrop (modified content)
modified: vendor/kartik-v/yii2-widget-fileinput (untracked content)
no changes added to commit
and I check git status
again the file remain untracked and modified
run git diff
and I get this
$ git diff
diff --git a/vendor/kartik-v/yii2-date-range b/vendor/kartik-v/yii2-date-range
--- a/vendor/kartik-v/yii2-date-range
+++ b/vendor/kartik-v/yii2-date-range
@@ -1 +1 @@
-Subproject commit c7177cd89cc90772acc96a05fbf5996f67127e4c
+Subproject commit c7177cd89cc90772acc96a05fbf5996f67127e4c-dirty
diff --git a/vendor/kartik-v/yii2-grid b/vendor/kartik-v/yii2-grid
--- a/vendor/kartik-v/yii2-grid
+++ b/vendor/kartik-v/yii2-grid
@@ -1 +1 @@
-Subproject commit fe29bcf8f46bde42aa3eb067851b38dc07cd4d8a
+Subproject commit fe29bcf8f46bde42aa3eb067851b38dc07cd4d8a-dirty
diff --git a/vendor/kartik-v/yii2-widget-depdrop b/vendor/kartik-v/yii2-widget-depdrop
--- a/vendor/kartik-v/yii2-widget-depdrop
+++ b/vendor/kartik-v/yii2-widget-depdrop
@@ -1 +1 @@
-Subproject commit 6918ca6f7d7be153c80f6aa9c261f9b333293e9c
+Subproject commit 6918ca6f7d7be153c80f6aa9c261f9b333293e9c-dirty
diff --git a/vendor/kartik-v/yii2-widget-fileinput b/vendor/kartik-v/yii2-widget-fileinput
--- a/vendor/kartik-v/yii2-widget-fileinput
+++ b/vendor/kartik-v/yii2-widget-fileinput
Please explain me what is that exactly and How I deal with it?