pyDVL icon indicating copy to clipboard operation
pyDVL copied to clipboard

pre-commit kills unstaged changes in notebooks

Open mdbenito opened this issue 2 years ago • 0 comments

  1. Edit a notebook, do not stage it
  2. Commit some other file, not a notebook.
  3. BAM! you lost your working copy of the notebook.

This seems to happen only if no notebook is staged. Maybe it doesn't happen if a notebook fails the pre-commit?

mdbenito avatar Oct 16 '22 21:10 mdbenito