title: Android Studio doesn't ignore .gitignore files
body: <p>I've added some masks and files to gitignore by <strong>Settings>Version Control>Ignored Files</strong>:</p>
  
  <p><a href="https://i.stack.imgur.com/lrVtN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lrVtN.png" alt="enter image description here"></a></p>
  
  <p>However, when I try to submit a new commit, those files are not ignored:</p>
  
  <p><a href="https://i.stack.imgur.com/PXwhs.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PXwhs.png" alt="enter image description here"></a></p>
  
  <p>And I'm not sure why... I remember using "Ignored Files" before (in the same manner), and it worked correctly. Can anyone what's happening here?</p>