Skip to content

Conversation

@euanmillar
Copy link

@euanmillar euanmillar commented Jun 4, 2025

I noticed that you have to click "Clear All Outputs" in VSCode before doing a commit otherwise the git diff clogs up with your logs. I read that configuring nbstripout is the way to clean output on git commits in Jupyter. My version of Jupyter uses incremental numbers rather than hashes to define cell ids in metadata. ChatGPT claims that newer versions of Jupyter do this. Perhaps there are benefits. The rest of the diff looks clean after these changes but installation steps are slightly more complex.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants