Add main branch sync automation
This commit is contained in:
7
scripts/install_devone_sync_hooks.sh
Executable file
7
scripts/install_devone_sync_hooks.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||
|
||||
git -C "$ROOT_DIR" config core.hooksPath .githooks
|
||||
printf 'Installed git hooks path: %s\n' "$ROOT_DIR/.githooks"
|
||||
Reference in New Issue
Block a user