You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
245 B
Bash

#!/bin/sh
# branch="$(git branch --show-current)"
# if test "${branch}" = "master" -o "${branch}" = "main"; then
# echo "Cowardly refusing to commit on ${branch} branch."
# echo "You can delete this pre-hook or do it right."
# exit 1
# fi