update hook

This commit is contained in:
SergeyVS 2024-03-11 12:23:08 +03:00
parent 4b5da004cd
commit f9ff9c07bf

View File

@ -21,7 +21,6 @@ clearhook:
@rm -f $(HOOK_PATH)
@echo "hooks cleared"
prehook:
@echo "Setting up pre-push hook..."
@rm -f $(HOOK_PATH)
@ -43,7 +42,6 @@ prehook:
@chmod +x $(HOOK_PATH)
@echo "Pre-push hook set successfully."
push:
ifeq ($(commit),)
$(error mn is not set)