Removing .xcuserstate and DS_Store files from git

前端 未结 2 1307
自闭症患者
自闭症患者 2020-12-23 12:24

In Xcode I noticed that .DS_Store and *.xcuserstate always change and don\'t need to be commited. So, I wrote a .gitignore file that contains this:

.DS_Store         


        
2条回答
  •  遥遥无期
    2020-12-23 12:54

    Try git update-index --assume-unchanged *.xcuserstate .DS_Store and see if it helps

提交回复
热议问题