title: How to git ignore ipython notebook checkpoints anywhere in repository
body: <p>This is mostly a git question. I want to commit my ipython notebooks but gitignore the checkpoints. </p>
  
  <p>The repo has multiple folders which each have ipython notebooks, therefore just ignoring a single directory does not solve it. I want to keep adding new folders with notebooks inside without worrying about it. </p>
  
  <p>My hunch is that there must be a way to use some wildcard to <em>gitignore anything  that is in a folder that is called */.ipynb_checkpoints/</em> but haven't been able to figure it out. </p>
  
  <h3>So, how can I git ignore all ipython notebook checkpoints in a repository, wherever they are?</h3>