Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save derrabauke/b4c540e035eb134ba7d0fe660e3f236b to your computer and use it in GitHub Desktop.
Save derrabauke/b4c540e035eb134ba7d0fe660e3f236b to your computer and use it in GitHub Desktop.
delete accidentally commited .DS_Store files
find . -name .DS_Store -print0 | xargs -0 git rm -f --ignore-unmatch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment