title: Android Eclipse: .gitignore not ignoring bin and gen directories at all
body: <p>I am trying to ignore some eclipse generated files that are not relevant for a push and here is my folder structure:</p>
  
  <pre><code>Project1/
     .gitignore
     extras/
        ..some stuff here
     Project1/
        bin
        gen
        libs
        res
        ..and so forth
  </code></pre>
  
  <p>so I need the inner Project1 that is inside of outer Project1 because Eclipse was getting all crazy for not having a folder structure like that and it wouldn't import my project so that's that. The git ignore seems to work for the extras folder but not for bin, and gen or anyhting inside inner Project1 folder. I tried adding the folder like Project1/bin  but nothing was hapening and git stil notices changes.</p>
  
  <p>Here is my file: </p>
  
  <pre><code># built application files
  *.apk
  *.ap_
  
  # files for the dex VM
  *.dex
  
  # Java class files
  *.class
  
  # generated files
  bin
  gen
  extras
  
  # Local configuration file (sdk path, etc)
  local.properties
  
  # Eclipse project files
  .classpath
  .project
  project.properties
  
  # Proguard folder generated by Eclipse
  proguard/
  
  # Intellij project files
  *.iml
  *.ipr
  *.iws
  .idea/
  </code></pre>
  
  <p>This is my first android github project so I am still learning. Please do not mind if my questions or  assumptions are wrong. Thank you!</p>