1.打开SourceTree的偏好设置,如下图

2.进入设置界面,点击Git选项,然后点击“编辑文件”按钮

3.在打开的.gitignore_global文件中添加需要忽略的文件或文件夹(注意工程中有的文件通过SourceTree忽略的也会添加到该文件中)。

*~
.DS_Store
*.xcuserstate
*.xcworkspace
xcuserdata
*.lock
Pods
1.打开SourceTree的偏好设置,如下图
2.进入设置界面,点击Git选项,然后点击“编辑文件”按钮
3.在打开的.gitignore_global文件中添加需要忽略的文件或文件夹(注意工程中有的文件通过SourceTree忽略的也会添加到该文件中)。
*~
.DS_Store
*.xcuserstate
*.xcworkspace
xcuserdata
*.lock
Pods
本文标题:SourceTree忽略iOS工程中文件
本文链接:https://www.haomeiwen.com/subject/twhcdttx.html
网友评论