Skip to content

특이 이슈 사항 #2

@YeoJiSu

Description

@YeoJiSu

GitHub .DS_Store 파일

local에서 프로젝트 작업 후 깃헙 원격 저장소로 push하는 작업을 할 때 계속 .DS_Store 파일이 생성이 된다.

  • DS_store 파일

    • 프로젝트와 관련없는 파일
    • git status를 사용했을 때 발견되는 파일이니, github로 넘기지말고 삭제해도 됨.
  • DS_store 파일 삭제 방법

      1. 모든 .DS_Store 파일 제거 find . -name .DS_Store -print0 | xargs -0 git rm -f --ignore-unmatch
      1. 저장소 상위 디렉토리에 .gitignore 파일 생성 및 .DS_Store 파일 추가

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions