2 # Update git-scripts after pushing to master at git-scripts.git.
3 # This hook must be in git-scripts.git/hooks/post-update.
6 if [ "$ref" = refs/heads/master ]; then
9 if ! git remote show -n origin 2>/dev/null; then
10 git remote add origin ../git-scripts.git
12 git pull origin master &&
13 git push origin master