-
-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Look into nbstripout to auto clear notebook output #110
Comments
If you have
|
Ah, I take it back - that will also remove the cell metadata (i.e. "raises-exception" tags)! Hmm... |
@adrn , I don't mean clean the git history. I meant this for more like a cleaner repo going forward. |
Does "clear all outputs" also clear the "raises-exception" tags? 😱 |
But then we're stuck with the already large, current size of the repo...
No, it shouldn't! |
I think it is easier to squash and force push to master than to do some filter-branch magic. 🔥 |
Also, if you must... https://git-scm.com/docs/git-filter-branch#_warning, which suggests https://github.com/newren/git-filter-repo/ |
All notebooks (including the solutions) should have outputs cleared before being committed to the repo. Any "output" that should not be cleared should be "hardcoded" as markdown text in the notebooks. This is because generated plots in particular eats up unnecessary storage space and is impossible to view as diff.
The text was updated successfully, but these errors were encountered: