[qudi-dev] Some useful ideas for Jupyter Notebooks + Git

  • From: Lachlan Rogers <lachlan.j.rogers@quantum.diamonds>
  • To: qudi-dev@xxxxxxxxxxxxx
  • Date: Mon, 29 May 2017 07:06:06 +0000

Hi everyone,

It has bothered me that Jupyter Notebooks do not play nicely with Git.
Simply altering the "evaluation order" of the cells will cause Git to think
the file has been changed, whereas most of the time a git user really wants
to track only changes to the actual python code contained in the notebook.

Have a look at
http://timstaley.co.uk/posts/making-git-and-jupyter-notebooks-play-nice/

I set this toolchain up on my computer for some private Jupyter projects
and it is working really nicely.  It could be of interest for the notebooks
we "package" with Qudi.

Cheers,

Lachlan

Other related posts: