notebook/git-hooks
2014-04-01 00:15:01 +08:00
..
post-checkout add git hooks for submodules 2013-05-03 13:08:54 -07:00
post-merge add git hooks for submodules 2013-05-03 13:08:54 -07:00
README.md Minor corrections of git-hooks setup instructions 2014-04-01 00:15:01 +08:00

git hooks for IPython

add these to your .git/hooks

For now, we just have post-checkout and post-merge, both of which just update submodules, so make sure that you have a fully synced repo whenever you checkout or pull.

To use these hooks, you can symlink or copy them to your .git/hooks directory. In .git/hooks, do:

ln -s ../../git-hooks/post-checkout post-checkout
ln -s ../../git-hooks/post-merge post-merge