DS_Store는 프로젝트와 관련 없는 파일이므로 삭제 해도 무방하다.
find . -name .DS_Store -print0 | xargs -0 git rm -f --ignore-unmatch
git add --all
git commit -m '.DS_Store removed'
git push origin main
DS_store가 자동으로 생성되는 것을 원하지 않는다면 사용하라
defaults write com.apple.desktopservices DSDontWriteNetworkStores ture