News for hackers. Stuff that matters.
Re:Jupyter Notebook 5.0 by Y_Y on Tuesday April 04, 2017 @12:22PM (#14034382)
Use nbstripout[0] as a git filter. Then you have seamless git control of notebooks. There's talk of automatically saving code only separate versions in future releases.

[0] https://github.com/kynan/nbstripout

Re:Jupyter Notebook 5.0 by lancefisher on Tuesday April 04, 2017 @12:37PM (#14034562)
This looks pretty good for handling diffing/merging of notebooks. I'm just getting started with jupyter, but it seems like somewhat of a pain to have to ssh into a server to manage versioning with git while I work on the code in the browser. I'd prefer if I could do all of my jupyter work directly in a notebook, and commit from the notebook webpage.

I'm not sure how others work with this stack, so there is likely tooling I don't know about. I'd love to hear suggestions.

Re:Jupyter Notebook 5.0 by coconutrandom on Tuesday April 04, 2017 @01:33PM (#14035229)
prepending commands with a "!" runs it in the shell, assuming you are using python.

  ! git commit add ./my_file.ipnb
http://ipython.readthedocs.io/en/stable/interactive/python-i...
Re:Jupyter Notebook 5.0 by carreau on Tuesday April 04, 2017 @01:01PM (#14034866)
Well you can commit from the UI: https://gab41.lab41.org/commit-and-push-to-github-from-jupyt... you just need to install the extension.