终端 cd到项目根目录 创建.gitignore -> touch .gitignore 打开.gitignore open .gitignore 忽略pod Pods/ Pods .DS_Store Podfile.lock /.DS_Store Podfile.lock /Podfile.lock 保存