title: How to add all of the migrations/ to git .gitignore file in django?
body: <p>In my Django project, I have many migrations directory, I want to add to my .gitignore file:</p>
  
  <p>Because they are under each app directory, I do not want to add every one.</p>
  
  <p><kbd><img src="https://i.stack.imgur.com/zdg4Y.jpg" width="333"></kbd></p>
  
  <p>How can I add all the <code>migrations</code> directories in it?</p>
  
  <p>Now in it only like this:</p>
  
  <pre><code>.idea/
  </code></pre>