git忽略UserInterfaceState.xcuserstate

创建

touch .gitignore

增加

vim .gitignore
//# 粘贴以下内容
 *.xcuserstate  
project.xcworkspace  
xcuserdata  
UserInterfaceState.xcuserstate  
project.xcworkspace/  
xcuserdata/  
UserInterface.xcuserstate
//# 保存退出

push

你可能感兴趣的:(ios)