DS_Store冲突

The files .DS_Store and .DS_Store had a tree conflict error from Git 


# remove any existing files from the repo, skipping over ones not in repo

find . -name .DS_Store -print0 | xargs -0 git rm --ignore-unmatch

# specify a global exclusion list

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

# adding .DS_Store to that list

echo .DS_Store >> ~/.gitignore

你可能感兴趣的:(DS_Store冲突)