Mac OS X users see the following with git status

machine:ldap user$ git status
# On branch 7.x-2.x
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#	.DS_Store
nothing added to commit but untracked files present (use "git add" to track)

Add .DS_Store entry to .gitignore to exclude the entry.

#1 1861270_gitignore_ds_store.patch170 bytesbartmcpherson
Members fund testing for the Drupal project. Drupal Association Learn more


bartmcpherson’s picture

Status: Active » Needs review
170 bytes

Patch file

johnbarclay’s picture

Shouldn't this ignore go in your .git configuration? Is .DS_store from you IDE or OS?

bartmcpherson’s picture

.DS_Store is an Apple OS X thing.

You are right though, I just added it to my global config now.
git config --global core.excludesfile /Users/myhome/.gitignore

I saw the .gitignore file and just jumped in to putting the entry in there.

johnbarclay’s picture

Status: Needs review » Fixed

I committed this. No point in splitting hairs on this.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.