mirror of
https://github.com/pockethost/pockethost.git
synced 2025-07-02 10:52:31 +00:00
6 lines
117 B
Plaintext
6 lines
117 B
Plaintext
branch="$(git rev-parse --abbrev-ref HEAD)"
|
|
if [ "$branch" = "master" ]; then
|
|
npx --no -- commitlint --edit $1
|
|
fi
|
|
|