Problem
- I'm always frustrated when
.ipynb_checkpoints show up in a git repository because they haven't been included in a .gitignore.
- I would like it if all
.ipynb_checkpoints were ignored by git without users having to do anything.
Proposed Solution
- Have Jupyter create
.ipynb_checkpoints/.gitignore whenever it creates an .ipynb_checkpoints folder.
- The content of the
.gitignore file should be *.
Additional Context
Many tools that create folders in a project do this; for example, uv venv creates a .gitignore within the .venv folder it creates.