Skip to content

Add macOS specific ignore for .DS_Store files - #4898

Open
breakcito wants to merge 1 commit into
github:mainfrom
breakcito:patch-1
Open

Add macOS specific ignore for .DS_Store files#4898
breakcito wants to merge 1 commit into
github:mainfrom
breakcito:patch-1

Conversation

@breakcito

Copy link
Copy Markdown

Link to the application or project's homepage

https://github.com/github/gitignore

Reasons for making this change

Add *.DS_Store* to Python.gitignore to prevent macOS Finder metadata files from being accidentally committed to Python projects.

.DS_Store files are automatically generated by macOS and do not contain project source code or Python-specific project data. Ignoring them helps keep repositories free of operating-system-specific metadata and avoids unnecessary changes appearing in version control.

Links to documentation supporting these rule changes

Merge and Approval Steps

  • I have read the contribution guidelines and understand my PR will be closed if it doesn't meet these guidelines.

Once submitted, I will wait for a GitHub maintainer to review the change and address any requested feedback.

@breakcito
breakcito requested a review from a team as a code owner August 18, 2026 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant