swyft icon indicating copy to clipboard operation
swyft copied to clipboard

rewrite git history to remove jupyter notebook outputs

Open bkmi opened this issue 4 years ago • 1 comments

Our repo is needlessly large because of the excessive saves of notebooks from previous git commits. This can be undone. We should do so.

A method can be found here: https://mg.readthedocs.io/git-jupyter.html#cleaning-a-whole-repository

@cweniger are you fine with this? If you want to save the output of the current notebooks we can keep them in the next version release.

In general, we should avoid changing the notebook outputs if possible. One option would be to clear them automatically with pre-commit.

bkmi avatar Aug 02 '21 12:08 bkmi

The suggestion on that site is to leave the master with executed notebooks and have a dev branch without.

imo swyft should download instantly and right now it takes some time because of all of this notebook bloat. Is it worth deleting it all? I think yes.

bkmi avatar Nov 22 '21 22:11 bkmi