Roo-Code/.husky/pre-push
2025-05-11 23:40:05 -07:00

8 lines
177 B
Text

branch="$(git rev-parse --abbrev-ref HEAD)"
if [ "$branch" = "main" ]; then
echo "You can't push directly to main - please check out a branch."
exit 1
fi
pnpm check-types