Skip to content

Instantly share code, notes, and snippets.

Probably roasting coffee...

Chet Gray chetgray

Probably roasting coffee...
View GitHub Profile
chetgray /
Last active Jun 8, 2018 — forked from pbugnion/
Keeping IPython notebooks under Git version control
#!/usr/bin/env python
Suppress output and prompt numbers in git version control.
This script will tell git to ignore prompt numbers and cell output
when looking at ipynb files if their metadata contains:
"git" : { "suppress_outputs" : true }