Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save NguyenTrungTin/6a8b78f2344c644bb5a84e00b2b5b62a to your computer and use it in GitHub Desktop.
Save NguyenTrungTin/6a8b78f2344c644bb5a84e00b2b5b62a to your computer and use it in GitHub Desktop.
  1. Remove all .DS_Store on current git directory
find . -name .DS_Store -print0 | xargs -0 git rm -f --ignore-unmatch
  1. After done 1 step, add .DS_Store in .gitignore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment