2016-09-17 2 views
0

에서 작동하지 않습니다. 예입니다 :자식 추가 한 폴더

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) 

가 무엇을 할 수 있고 어떻게 그것을 해결하기 위해?

+0

정말 이상한데, 당신은 이미 git add java/*를 시도 했습니까? – jonathanrz

+0

@jonathanrz, 네, java/shadasviar/project/MainActivity.java의 subdirs에서 몇 가지 구체적인 파일을 추가하려했지만 결과가 없으며 .git 폴더를 삭제하고 다시 만들었지 만 hasen't – Shadasviar

+0

도와 주시겠습니까? "git add -A"로 시도 할 수 있습니까? – jonathanrz

답변

0

모든 .git 폴더를 모든 하위 디렉터리에서 삭제하면 도움이됩니다.