git push ignore cocoapods
问题 I have been developing an iOS application for a few months. Now, I want to push it on bitBucket. The problem is git push ignore all files related to cocoapods (e.g., project.xcworkspace Podfile, Podfile.lock, Pods, etc.) Is there any way to push these files? 回答1: Open your .gitignore file with a text editor (note: it's a hidden file). It's likely that it has lines like: Pods/ Podfile or: Pod* The line Pods/ is often added in some default .gitignore files found in various places around the net