I have a shared git folder with part of the project developed on jupyter notebooks.
I do not want jupyter autosaved files (checkpoints) to be pushed/pulled with the rest of the project.
In the main project folder (where the .gitignore
file is) I have the following folder created by Jupyter: .ipynb_checkpoints
. Inside that folder there are a bunch of checkpoint files all of the form: somename-checkpoint.ipynb
.
I tried to add the following to my .gitignore
but none of these works.
/.ipynb_checkpoints
/*ipynb_checkpoints
*-checkpoint.ipynb
None of these worked and the files are still read and pulled/pushed.