그래서 git repo가 있는데 디렉토리를 붙여 넣으려고합니다. 저장소를 복제하고 새 분기를 체크 아웃 한 다음 하위 디렉토리 중 하나에 디렉토리를 붙여 넣습니다. 나는 parentDir에있을 때는 파일 경로가이git 저장소에 디렉토리를 붙여 넣는 방법
Repo/ios/parentDir/directoryPastedIn
처럼 내가 자식 지점을 그래서 난 내가 체크 아웃 지점에있어 것을 알 수 있습니다. 내가 directoryPastedIn
에있을 때 나는 git branch
을 수행하고 그 지점 대신 master
에 있음을 확인합니다.
내가 부모에있어 동안은 자식의 상태를 수행 할 때 디렉터리 나는 (I 완료 한 후에 자식이 -A를 추가)이 얻을 -
# On branch someBranch
# Changes to be committed:
# (use "git reset HEAD <file>..." to unstage)
#
# new file: directoryPastedIn
#
# 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: directoryPastedIn (modified content)
#
을하지만, 나는 directoryPastedIn과에 갈 때 그것의 서브 디렉토리 중 일부에 들어가서 git status
을해라, 나는 untracked 파일이 있다는 것을 안다. 이것을 리모컨으로 밀어 넣으면 디렉토리가 아니라 이진 파일이 푸시되었습니다.
그래서 내 로컬 git repo에 디렉토리를 붙여 넣으시겠습니까?