이 나는 변경 사항을 끌어 시도 할 때오류 : 다음의 비 추적 작업 트리 파일을 병합 덮어 것이다 : 나는 터미널에서 <code>git status</code>를 사용할 때
On branch master
nothing to commit, working directory clean
를 말한다 맥에 자식 저장소가 된 .DS_Store 저장소 git pull repositoryName master
error: The following untracked working tree files would be overwritten by merge:
.DS_Store
Please move or remove them before you can merge.
은 그래서 git rm .DS_Store
그것을 제거하려고하지만
fatal: pathspec '.DS_Store' did not match any files
을 말한다
나는 어떤 문제가 여전히 내가 성공하지 않고 게시의 differents에서 본 명령을 많이 tryed
지속 캐시 된 제거하려고 된 .DS_Store하지만 무시 .gitignore와 git rm --cached . -r
및 git add .
을 다시 추가되었습니다 도움을 주실 것입니다