Skip to content

.gitignore: Ignore .DS_Store files created by macOS; #1324

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

Closed

Conversation

kristate
Copy link
Contributor

@kristate kristate commented Aug 3, 2018

Closes #1323

@andrewrk
Copy link
Member

andrewrk commented Aug 3, 2018

I recommend putting .DS_Store in your ~/.gitignore file and adding this to your ~/.gitconfig:

[core]
	excludesfile = ~/.gitignore

This goes for OS-specific files and editor-specific files. What belongs in a project-specific .gitignore file is build artifacts specific to that project.

See #888

@andrewrk andrewrk closed this Aug 3, 2018
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.

2 participants