git clone下代码之后会有一个.gitignore文件,一般是隐藏的,需设置显示隐藏文件
打开.gitignore文件,将下面代码拷贝到文件内(下面的cowork/...改成你自己的工程):
*.xcuserstate
Pods/
Podfile.lock
cowork/cowork.xcworkspace/contents.xcworkspacedata
cowork/cowork.xcworkspace/xcuserdata/duanjiahuan.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
*.xcworkspace
cowork/cowork.xcodeproj/project.xcworkspace/xcuserdata/duanjiahuan.xcuserdatad/UserInterfaceState.xcuserstate
xcuserdata
.idea
网友评论