Skip to content

Instantly share code, notes, and snippets.

@gorpello
Created August 1, 2022 15:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gorpello/e1c6cd24b53835cbde055ef3f0542377 to your computer and use it in GitHub Desktop.
Save gorpello/e1c6cd24b53835cbde055ef3f0542377 to your computer and use it in GitHub Desktop.
  • Remove current File
find . -name .DS_Store -print0 | xargs -0 git rm -f --ignore-unmatch
  • Add
git add .gitignore
  • Commit the changes
git commit -m '.DS_Store banished!'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment