Skip to content

vgod/ipython-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

IPython Notebook Extension

git-button.js

git-button.js adds a "git commit" button in IPython notebook. This extension provides a light-weight method to put your notebooks under version control with git.

Each time you clicks the "git commit" button, the notebook is saved and committed into git with the commit message you provide. The extension also initialize an empty git repo automatically when you click the button first time.

To enable this extension in your IPython notebook, put this piece of code in your custom.js (which is usually at ~/.ipython/profile_default/static/custom/custom.js).

$([IPython.events]).on('app_initialized.NotebookApp', function(){
   $.getScript('http://rawgithub.com/vgod/ipython-extension/master/git-button.js');
});

See sample-custom.js for a complete sample file of custom.js.

About

My IPython Notebook Extension

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published