DS_Store란 ?
1. 터미널에서 repository Local 폴더로 이동
2. find . -name .DS_Store -print0 | xargs -0 git rm --ignore-unmatch -f
입력하면 로컬 레포에서 삭제된다.
3. .gitignore에 추가하여 다시 commit 되지 않도록 해야한다
4. echo .DS_Store >> .gitignore 입력
5. git add .gitignore
6. git commit -m ".DS_Store delete"
"text" 는 커밋메시지이므로 마음에 드시는 문구로 변경가능
7. git push origin main //git에 반영