##// END OF EJS Templates
add git hooks for submodules...
MinRK -
Show More
@@ -0,0 +1,13 b''
1 git hooks for IPython
2
3 add these to your `.git/hooks`
4
5 For now, we just have `post-checkout` and `post-merge`,
6 both of which just update submodules,
7 so make sure that you have a fully synced repo whenever you checkout or pull.
8
9 To use these hooks, you can symlink or copy them to your `.git/hooks` directory.
10
11 ln -s ../../git-hooks/post-checkout .git/hooks/post-checkout
12 ln -s ../../git-hooks/post-merge .git/hooks/post-merge
13
@@ -0,0 +1,4 b''
1 #!/bin/sh
2
3 git submodule init
4 git submodule update
@@ -0,0 +1,4 b''
1 #!/bin/sh
2
3 git submodule init
4 git submodule update
General Comments 0
You need to be logged in to leave comments. Login now