From b8248b3b56665eccd9c370a7c684c308f1cd5435 Mon Sep 17 00:00:00 2001 From: Ayo Date: Sun, 22 Feb 2026 16:02:14 +0100 Subject: [PATCH] chore: add post-commit hook to auto-mirror to gh & sh --- .husky/post-commit | 3 +++ .husky/pre-commit | 1 + 2 files changed, 4 insertions(+) create mode 100644 .husky/post-commit diff --git a/.husky/post-commit b/.husky/post-commit new file mode 100644 index 0000000..013cec7 --- /dev/null +++ b/.husky/post-commit @@ -0,0 +1,3 @@ +echo "post-commit..." +git push gh --mirror +git push sh --mirror diff --git a/.husky/pre-commit b/.husky/pre-commit index 2312dc5..daf285b 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1 +1,2 @@ +echo "pre-commit..." npx lint-staged