mirror of
https://github.com/jupyter/notebook.git
synced 2024-11-27 03:20:27 +08:00
10 lines
232 B
Bash
10 lines
232 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
DOTGIT=`git rev-parse --git-dir`
|
||
|
TOPLEVEL=`git rev-parse --show-toplevel`
|
||
|
TO=${DOTGIT}/hooks
|
||
|
FROM=${TOPLEVEL}/git-hooks
|
||
|
|
||
|
ln -s ${FROM}/post-checkout ${TO}/post-checkout
|
||
|
ln -s ${FROM}/post-merge ${TO}/post-merge
|