git add "AppDir"
, 를 실행 한 다음 git status
를 실행 한 후 repo로 하나의 디렉토리와 모든 파일을 추가하고 싶습니다. 아래의 "수정 된 컨텐츠, untracked 컨텐츠"가 정상적으로 표시됩니까?git을 사용하여 디렉토리를 재귀 적으로 추가 할 수 없습니까?
을 실행해도 도움이되지 않습니다. 아래
는 git status
의 세부 정보입니다.
bogon:AppDir springrider$ 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: AppDir (modified content, untracked content)
#
no changes added to commit (use "git add" and/or "git commit -a")
'git commit -a'는 새로운 파일을 추가하지 않습니다. 그러나'git add dir' 명령은 작동합니다. – svick
@svick :이 경우가 아니라 - OP가 이미 완료했습니다. 상태에있는'(수정 된 내용, 추적되지 않은 내용)'메시지는 특유의 것이며 서브 모듈/gitlink에 대해서만 표시됩니다. –
@MarkLongair, 아, 나는 메시지를 인식하지 못했기 때문에 나는 단지 그것이 다른 버전의 자식이라고 가정했다. 이것은 그것을 설명합니다. – svick