title: Why Cocoapods ignored when pushing to Git?
body: <p>As a POC, I created a new repository (on BitBucket) and tried to push a dummy project, everything worked as it should; I tried to apply the same exact process on my actual project, which has <em>cocoapods</em>, it has been pushed successfully, but when I tried to checked it out, I got the source code without the pods! </p>
  
  <p>I viewed the source of the repo, it does <em>not</em> contains the pod directory.</p>
  
  <p>Here are the files that I tried to push (16 files and folders, 192MB Size):</p>
  
  <p><a href="https://i.stack.imgur.com/HafOY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HafOY.png" alt="enter image description here"></a></p>
  
  <p>And that's what the repo contains (14 files and folders 121MB Size):</p>
  
  <p><a href="https://i.stack.imgur.com/Jmwl6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Jmwl6.png" alt="enter image description here"></a></p>
  
  <p>Note that the last tow folders in my local machine (Pods and widget) are <em>not</em> in the repo.</p>
  
  <p><em>There is no .gitignore file.</em></p>
  
  <p>Also, I checked:</p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/25787733/git-push-ignore-cocoapods">git push ignore cocoapods</a></li>
  <li><a href="https://stackoverflow.com/questions/22291456/commit-to-git-after-switching-to-workspace-and-adding-cocoapods-in-xcode">Commit to git after switching to workspace and adding CocoaPods in Xcode?</a></li>
  </ul>
  
  <p>without any useful results.</p>
  
  <p>Any advice would be appreciated. </p>