천원의 개발

GitHub .DS_Store 삭제 본문

Github

GitHub .DS_Store 삭제

천 원 2022. 3. 30. 17:06

#.DS_Store란 Desktop Services Store의 약자로, 애플에서 정의한 파일 포맷이다.

  • 삭제방법
find . -name .DS_Store -print0 | xargs -0 git rm -f --ignore-unmatch

  • 앞으로 .DS_Store 파일 업로드 안하고 싶으면
    echo .DS_Store >> .gitignore

'Github' 카테고리의 다른 글

Github Copilot-X Xcode에서 사용해보기(CopilotForXcode)  (2) 2023.07.19
.gitignore사용  (0) 2022.05.23