Skip to content

Instantly share code, notes, and snippets.

@ozkanozcan
Created March 2, 2024 21:42
Show Gist options
  • Save ozkanozcan/90b1334a312ffd2f1f33dd655b7cd0b9 to your computer and use it in GitHub Desktop.
Save ozkanozcan/90b1334a312ffd2f1f33dd655b7cd0b9 to your computer and use it in GitHub Desktop.
remove .DS_Store from git repository
find . -name .DS_Store -print0 | xargs -0 git rm -f --ignore-unmatch
echo .DS_Store >> .gitignore
git add .gitignore
git commit -m '.DS_Store dosyaları kaldırıldı!'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment