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

Update gitignore template for .DS_Store files #3462

Closed
wants to merge 1 commit into from
Closed

Update gitignore template for .DS_Store files #3462

wants to merge 1 commit into from

Conversation

andrewzah
Copy link

These are meaningless files present in OSX directories.

These are [meaningless files](https://en.wikipedia.org/wiki/.DS_Store) present in OSX directories.
@Sija
Copy link
Contributor

Sija commented Oct 23, 2016

One might argue it should be added to global ~/.gitignore.

@chaniks
Copy link

chaniks commented Oct 23, 2016

@azah You'd better use git's excludesfile—Only OS X users need this, and also it is not a byproduct of Crystal project.

  • create a file .gitignore in your home directory
  • and add .DS_Store or whatever into the file

Then:

$ git config --global core.excludesfile '~/.gitignore'

@asterite
Copy link
Member

See #515

We added it for the Crystal repo, but I don't think it's convenient to add it to every Crystal project, as not every project will be developed in a Mac. It's better if that file is put in the global gitignore (in fact I'm not convinced having it in our repo was a good idea, but, well, it's just one project)

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.

None yet

4 participants