0
上では動作しません。 例があります:のgit addは一つのフォルダ
git status
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: java/shadasviar (modified content, untracked content)
git add .
git status
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: java/shadasviar (modified content, untracked content)
それが何をすることができ、どのようにそれを解決するために?
これは本当に奇妙です、あなたはすでにgit add java/*を試していますか? – jonathanrz
@jonathanrz、はい、java/shadasviar/project/MainActivity.javaのサブディレクトリからいくつかの具体的なファイルを追加しようとしましたが、結果もなく、.gitフォルダを削除して再作成しましたが、hasen't – Shadasviar
"git add -A"で試してみることができますか? – jonathanrz