Last active
October 16, 2023 18:49
-
-
Save ohjho/1ae8b70729d64de608f597fbc79e6aae to your computer and use it in GitHub Desktop.
How to remove .ipynb_checkpoints from Git Repo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# to remove the file on git without deleting from local | |
# use -> git rm --cached | |
find . -name .ipynb_checkpoints -print0 | xargs -0 git rm -r --ignore-unmatch | |
echo .ipynb_checkpoints >> .gitignore |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
to remove the file on git without deleting from local
use -> git rm --cached
find . -name .ipynb_checkpoints -print0 | xargs -0 git rm -r --ignore-unmatch
echo .ipynb_checkpoints >> .gitignore