Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔧 Ignore .DS_Store for people browsing files on Mac #1168

Closed
wants to merge 1 commit into from

Conversation

rickwporter
Copy link

Add .DS_Store to .gitignore.

Unfortunately, Mac's litter the file system with .DS_Store files when browsing the directories. The most frequent occurrence is when looking for code coverage results files. This change ignores them to avoid committing them.

@Kludex
Copy link
Member

Kludex commented Mar 2, 2025

You can add those files to your global .gitignore.

A blog post that was archived, but I read some years ago: https://web.archive.org/web/20211203122258/https://julien.danjou.info/properly-managing-your-gitignore/

@rickwporter
Copy link
Author

You can add those files to your global .gitignore.

A blog post that was archived, but I read some years ago: https://web.archive.org/web/20211203122258/https://julien.danjou.info/properly-managing-your-gitignore/

Thanks for the pointer. I found this link (https://stackoverflow.com/questions/7335420/global-git-ignore) has nice instructions.

@rickwporter rickwporter closed this Mar 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants