Me and my partner are using Xcode's built-in git to edit code together. When I tried to pull a change, I am having .DS_Store files conflict.

We are both working on the storyboard and adding images to the project. Could it be because of the images we are adding?


The .DS_Store changes when you alter the directory's view options: align, sort order, view mode... You don't need version control on it. To ignore the changes add .DS_Store in the .gitignore or the global one in ~/.config/git/ignore.

  • That is an odd place for the global one run git config --get core to see where your global file is – user151019 Oct 27 '14 at 13:19
  • In MacOS Catalina, try git config --list --show-origin – Ryan Dec 23 '19 at 23:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .