12 lines
288 B
Bash
Executable File
12 lines
288 B
Bash
Executable File
#!/bin/sh
|
|
set -eu
|
|
|
|
repo_root=$(git rev-parse --show-toplevel)
|
|
cd "$repo_root"
|
|
|
|
git config core.hooksPath .githooks
|
|
chmod +x .githooks/post-commit scripts/devcpone_sync.sh
|
|
|
|
echo "Devcpone hook bootstrap is active."
|
|
echo "Run: git commit on master to sync to /home/one/project/one/one-ui/"
|