title: Git exclude folder from pushing to repository
body: <p>My repository consists of two folders <code>client</code> and <code>server</code>. In <code>server</code> I have few folders which were automatically generated by <code>Codeblocks</code> IDE like <code>bin</code> and <code>obj</code>. I dont want to store them in my repository, so I decided to add <code>.gitignore</code>. I tried everything:</p>
  
  <pre><code># folders
  **/bin/
  **bin/
  **/bin
  **bin
  bin
  /bin
  bin/
  /bin/
  server/bin
  /server/bin
  server/bin/
  server/bin
  </code></pre>
  
  <p>And still after <code>pull</code> and making <code>git status</code> I can see that <code>bin</code> folder will be pushed. What am I doing wrong?</p>